EnergySource class

Energy source of EV charging point.

EnergyMix contains a list of this representing the energy sources.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

Constructors

EnergySource()

Properties

hashCode → int
The hash code for this object.
no setter
percentage ↔ double
Percentage of this source (0-100) in the mix, possibly a non-integer value such as 32.3.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source ↔ EnergySourceType
Source of the energy.
getter/setter pair

Methods

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

Operators

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