toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (buildingStats != null) 'buildingStats': buildingStats!,
if (carbonOffsetFactorKgPerMwh != null)
'carbonOffsetFactorKgPerMwh': carbonOffsetFactorKgPerMwh!,
if (financialAnalyses != null) 'financialAnalyses': financialAnalyses!,
if (maxArrayAreaMeters2 != null)
'maxArrayAreaMeters2': maxArrayAreaMeters2!,
if (maxArrayPanelsCount != null)
'maxArrayPanelsCount': maxArrayPanelsCount!,
if (maxSunshineHoursPerYear != null)
'maxSunshineHoursPerYear': maxSunshineHoursPerYear!,
if (panelCapacityWatts != null)
'panelCapacityWatts': panelCapacityWatts!,
if (panelHeightMeters != null) 'panelHeightMeters': panelHeightMeters!,
if (panelLifetimeYears != null)
'panelLifetimeYears': panelLifetimeYears!,
if (panelWidthMeters != null) 'panelWidthMeters': panelWidthMeters!,
if (roofSegmentStats != null) 'roofSegmentStats': roofSegmentStats!,
if (solarPanelConfigs != null) 'solarPanelConfigs': solarPanelConfigs!,
if (solarPanels != null) 'solarPanels': solarPanels!,
if (wholeRoofStats != null) 'wholeRoofStats': wholeRoofStats!,
};