toJson method
Implementation
Map<String, dynamic> toJson() => {
"app_token": appToken,
"identifier": identifier,
"event_name": eventName,
"event_values": eventValues,
if (registration.isNotEmpty) "registration": registration,
"conversion_event": conversionEvent,
"conversion_value": conversionValue,
"conversion_notid": conversionNotId,
};