toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (averageKwhPerMonth != null)
'averageKwhPerMonth': averageKwhPerMonth!,
if (cashPurchaseSavings != null)
'cashPurchaseSavings': cashPurchaseSavings!,
if (defaultBill != null) 'defaultBill': defaultBill!,
if (financedPurchaseSavings != null)
'financedPurchaseSavings': financedPurchaseSavings!,
if (financialDetails != null) 'financialDetails': financialDetails!,
if (leasingSavings != null) 'leasingSavings': leasingSavings!,
if (monthlyBill != null) 'monthlyBill': monthlyBill!,
if (panelConfigIndex != null) 'panelConfigIndex': panelConfigIndex!,
};