toMap method
Implementation
Map<String, dynamic> toMap() => {
"merchant_reference": merchantReference == null ? null : merchantReference,
"preferred_agent": preferredAgent == null ? null : preferredAgent,
"product_description": productDescription == null ? null : productDescription,
"amount": amount == null ? null : amount,
"currency_code": currencyCode == null ? null : currencyCode,
"payment_info": paymentInfo == null ? null : paymentInfo,
"payment_expiry": paymentExpiry == null ? null : paymentExpiry,
"user_defined_1": userDefined1 == null ? null : userDefined1,
"user_defined_2": userDefined2 == null ? null : userDefined2,
"user_defined_3": userDefined3 == null ? null : userDefined3,
"user_defined_4": userDefined4 == null ? null : userDefined4,
"user_defined_5": userDefined5 == null ? null : userDefined5,
};