EnergyUnit class
Enum for numerous EnergyConverters.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
inherited
Static Methods
-
parse(
String id) → EnergyConverter? -
Returns the EnergyConverter for this
id
or null if there is no EnergyConverter associated with this id.
Constants
- attojoule → const EnergyConverter
- calorie → const EnergyConverter
-
common
→ const List<
EnergyConverter> - electronVolt → const EnergyConverter
- femtojoule → const EnergyConverter
- gigajoule → const EnergyConverter
- gigaton → const EnergyConverter
- gigawattHour → const EnergyConverter
- horsepowerHour → const EnergyConverter
- joule → const EnergyConverter
- kilocalorie → const EnergyConverter
- kiloelectronVolt → const EnergyConverter
- kilojoule → const EnergyConverter
- kiloton → const EnergyConverter
- kilowattHour → const EnergyConverter
- kilowattSecond → const EnergyConverter
- megaelectronVolt → const EnergyConverter
- megajoule → const EnergyConverter
- megaton → const EnergyConverter
- megawattHour → const EnergyConverter
- microjoule → const EnergyConverter
- millijoule → const EnergyConverter
- nanojoule → const EnergyConverter
- picojoule → const EnergyConverter
- terajoule → const EnergyConverter
- ton → const EnergyConverter
-
units
→ const List<
EnergyConverter> - wattHour → const EnergyConverter
- wattSecond → const EnergyConverter