Conversion enum

Inheritance
Available extensions

Values

centiMeterToMeter → const Conversion

Conversion factor from centimeters to meters.

const Conversion(100)
meterToInch → const Conversion

Conversion factor from meters to inches.

const Conversion(39.3701)
feetToInch → const Conversion

Conversion factor from feet to inches.

const Conversion(12)
kgToLbs → const Conversion

Conversion factor from kilograms to pounds.

const Conversion(2.2046)
mlToOz → const Conversion

Conversion factor from milliliters to ounces.

const Conversion(0.0338)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double
The value of the conversion factor.
final

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

Constants

values → const List<Conversion>
A constant List of the values in this enum, in order of their declaration.