toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.purpose != null) {
json[r'purpose'] = this.purpose;
} else {
json[r'purpose'] = null;
}
if (this.loanAmount != null) {
json[r'loanAmount'] = this.loanAmount;
} else {
json[r'loanAmount'] = null;
}
return json;
}