toMap method
Converts PaymayaDetails to Map
Implementation
Map<String, dynamic> toMap() {
return {
'discount': discount,
'serviceCharge': serviceCharge,
'shippingFee': shippingFee,
'tax': tax,
'subtotal': subtotal,
};
}
Converts PaymayaDetails to Map
Map<String, dynamic> toMap() {
return {
'discount': discount,
'serviceCharge': serviceCharge,
'shippingFee': shippingFee,
'tax': tax,
'subtotal': subtotal,
};
}