toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "event_type": eventType,
    "captured_at": capturedAt,
    "event_properties": eventProperties,
    "custom_event_properties": customEventProperties ?? <String, dynamic>{},
  };
}