toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (azimuthDegrees != null) 'azimuthDegrees': azimuthDegrees!,
if (panelsCount != null) 'panelsCount': panelsCount!,
if (pitchDegrees != null) 'pitchDegrees': pitchDegrees!,
if (segmentIndex != null) 'segmentIndex': segmentIndex!,
if (yearlyEnergyDcKwh != null) 'yearlyEnergyDcKwh': yearlyEnergyDcKwh!,
};