toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (annualLoanPayment != null) 'annualLoanPayment': annualLoanPayment!,
if (loanInterestRate != null) 'loanInterestRate': loanInterestRate!,
if (rebateValue != null) 'rebateValue': rebateValue!,
if (savings != null) 'savings': savings!,
};