toMap method
Implementation
Map<String, dynamic> toMap() => {
"name": name == null ? null : name,
"email": email == null ? null : email,
"mobileNo": mobileNo == null ? null : mobileNo,
"accountNo": accountNo == null ? null : accountNo,
"cardNo": cardNo == null ? null : cardNo,
"expiryMonth": expiryMonth == null ? null : expiryMonth,
"expiryYear": expiryYear == null ? null : expiryYear,
"securityCode": securityCode == null ? null : securityCode,
"pin": accountNo == null ? null : pin,
"cardBank": cardBank == null ? null : cardBank,
"cardCountry": cardCountry == null ? null : cardCountry,
"cardTokenize": cardTokenize == null ? null : cardTokenize,
"interestType": interestType == null ? null : interestType,
"installmentPeriod": installmentPeriod == null ? null : installmentPeriod,
"token": token == null ? null : token,
"qrType": qrType == null ? null : qrType,
"fxRateID": fxRateId == null ? null : fxRateId,
"billingAddress1": billingAddress1 == null ? null : billingAddress1,
"billingAddress2": billingAddress2 == null ? null : billingAddress2,
"billingAddress3": billingAddress3 == null ? null : billingAddress3,
"billingCity": billingCity == null ? null : billingCity,
"billingState": billingState == null ? null : billingState,
"billingPostalCode": billingPostalCode == null ? null : billingPostalCode,
"billingCountryCode": billingCountryCode == null ? null : billingCountryCode,
};