EnergyMix class
Represents details on the energy supplied at the charging location.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
Constructors
Properties
- energyProduct ↔ String?
-
Name of the energy suppliers product or plan.
getter/setter pair
-
energySources
↔ List<
EnergySource> -
The list of energy sources.
The sum of the percentages over the energy sources should be 100%.
getter/setter pair
-
environmentalImpacts
↔ List<
EnvironmentalImpact> -
The list of environmental impacts from this energy mix.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setter
- isGreenEnergy ↔ bool
-
Boolean flag indicating if the energy is 100% from regenerative sources.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- supplier ↔ String?
-
Name of the energy supplier.
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.