toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (costOfElectricityWithoutSolar != null)
    'costOfElectricityWithoutSolar': costOfElectricityWithoutSolar!,
  if (federalIncentive != null) 'federalIncentive': federalIncentive!,
  if (initialAcKwhPerYear != null)
    'initialAcKwhPerYear': initialAcKwhPerYear!,
  if (lifetimeSrecTotal != null) 'lifetimeSrecTotal': lifetimeSrecTotal!,
  if (netMeteringAllowed != null) 'netMeteringAllowed': netMeteringAllowed!,
  if (percentageExportedToGrid != null)
    'percentageExportedToGrid': percentageExportedToGrid!,
  if (remainingLifetimeUtilityBill != null)
    'remainingLifetimeUtilityBill': remainingLifetimeUtilityBill!,
  if (solarPercentage != null) 'solarPercentage': solarPercentage!,
  if (stateIncentive != null) 'stateIncentive': stateIncentive!,
  if (utilityIncentive != null) 'utilityIncentive': utilityIncentive!,
};