toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'partnerId': partnerId,
'countries': countries,
'serviceId': "INTEGRATION",
'amount': amount,
'paymentMethods': paymentMethod ?? ["momo","card","direct_debit"],
'reason': reason,
'fullname': name,
'email': email,
'sandbox': sandbox,
'key': apikey,
'callback': callback,
'phoneNumber': phone,
'sdk': sdk,
'theme': theme,
'url': url,
'host': host,
'data': data
};
}