Service
Event
constructor()
Constructor to instantiate the object
Constructor to instantiate the object
Parameters
id
The identifier of the event
eventDate
The date of the event when occurred
extra
The extra information related to the event
type
The type of the event occurred