toJson method

Map toJson()

Implementation

Map toJson () => {
  'id': id,
  'tripId': tripId,
  'userId': userId,
  'eventType': eventType,
  'createdAt': createdAt,
  'eventSource': eventSource,
  'eventVersion': eventVersion,
  'locationId': locationId
};