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