AddOrderEvent constructor
AddOrderEvent({})
Implementation
AddOrderEvent({
String? orderId,
double? orderAmount,
double? paidAmount,
List<Map<String, dynamic>>? items,
Map<String, dynamic>? customEventProperties,
}) : super(
eventType: "order",
) {
if (orderId != null) setOrderId(orderId);
if (orderAmount != null) setOrderAmount(orderAmount);
if (paidAmount != null) setPaidAmount(paidAmount);
if (items != null) setItems(items);
if (customEventProperties != null) {
setCustomEventProperties(customEventProperties);
}
}