toMap property
Implementation
Map<String, Object?> get toMap {
Map<String, Object?> eventMap = {
'eventId': eventId,
'orderId': orderId,
'couponCode' : couponCode,
'discount' : discount,
'currency': currency,
'revenue': revenue,
'param1': param1,
'param2': param2,
'param3': param3,
'param4': param4,
'param5': param5,
'param6': param6,
'param7': param7,
'param8': param8,
'param9': param9,
'param10': param10,
'ev': evMap,
};
return eventMap;
}