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