toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final azimuthDegrees = this.azimuthDegrees;
  final panelsCount = this.panelsCount;
  final pitchDegrees = this.pitchDegrees;
  final segmentIndex = this.segmentIndex;
  final yearlyEnergyDcKwh = this.yearlyEnergyDcKwh;
  return {
    'azimuthDegrees': ?azimuthDegrees,
    'panelsCount': ?panelsCount,
    'pitchDegrees': ?pitchDegrees,
    'segmentIndex': ?segmentIndex,
    'yearlyEnergyDcKwh': ?yearlyEnergyDcKwh,
  };
}