RoofSegmentSummary.fromJson constructor
RoofSegmentSummary.fromJson(
- Map json_
Implementation
RoofSegmentSummary.fromJson(core.Map json_)
: this(
azimuthDegrees: (json_['azimuthDegrees'] as core.num?)?.toDouble(),
panelsCount: json_['panelsCount'] as core.int?,
pitchDegrees: (json_['pitchDegrees'] as core.num?)?.toDouble(),
segmentIndex: json_['segmentIndex'] as core.int?,
yearlyEnergyDcKwh: (json_['yearlyEnergyDcKwh'] as core.num?)
?.toDouble(),
);