SolarPanel class

SolarPanel describes the position, orientation, and production of a single solar panel.

See the panel_height_meters, panel_width_meters, and panel_capacity_watts fields in SolarPotential for information on the parameters of the panel.

Constructors

SolarPanel({LatLng? center, String? orientation, int? segmentIndex, double? yearlyEnergyDcKwh})
SolarPanel.fromJson(Map json_)

Properties

center LatLng?
The centre of the panel.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
orientation String?
The orientation of the panel. Possible string values are:
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentIndex int?
Index in roof_segment_stats of the RoofSegmentSizeAndSunshineStats which corresponds to the roof segment that this panel is placed on.
getter/setter pair
yearlyEnergyDcKwh double?
How much sunlight energy this layout captures over the course of a year, in DC kWh.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited