toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.accountNumber != null) {
json[r'accountNumber'] = this.accountNumber;
} else {
json[r'accountNumber'] = null;
}
if (this.mobileNumber != null) {
json[r'mobileNumber'] = this.mobileNumber;
} else {
json[r'mobileNumber'] = null;
}
if (this.beneficiaryMobileNumber != null) {
json[r'beneficiaryMobileNumber'] = this.beneficiaryMobileNumber;
} else {
json[r'beneficiaryMobileNumber'] = null;
}
if (this.invoiceId != null) {
json[r'invoiceId'] = this.invoiceId;
} else {
json[r'invoiceId'] = null;
}
if (this.value != null) {
json[r'value'] = this.value;
} else {
json[r'value'] = null;
}
if (this.maxPrice != null) {
json[r'maxPrice'] = this.maxPrice;
} else {
json[r'maxPrice'] = null;
}
return json;
}