EnvironmentalImpact class

Represents environmental impact for an environmental impact category.

EnergyMix contains an list of this representing the environmental impacts of different categories.

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

EnvironmentalImpact()

Properties

amountInGramPerKilowattHours ↔ double
Amount of waste in g/kWh for this category.
getter/setter pair
category ↔ EnvironmentalImpactCategory
Environmental impact category.
getter/setter pair
hashCode → int
The hash code for this object.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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.