UnitType enum
An emum used to designate which type of number a particular unit is for unit conversion purposes.
This is a custom enum that has been added by this package and is not part of the CSAFE specification.
You may get an unsolicited physics lesson by reading the documentation for this enum. You have been warned.
Constructors
- UnitType()
-
const
Values
- mass → const UnitType
- distance → const UnitType
- time → const UnitType
- speed → const UnitType
-
Represents units of distance over time
- energy → const UnitType
-
represents units of energy (i.e. calorie)
- power → const UnitType
-
Represents units of energy over time (i.e. Calories per hour)
- force → const UnitType
- frequency → const UnitType
-
Represents "dimensionless" units, such as counts applied over time (i.e. steps per minute)
- dimensionless → const UnitType
-
Represents a unit that has "no physical dimension
i.e. time
asssigned".examples include counts of things (i.e. beats, steps, strokes) as well as ratios where the units cancel out (i.e. percent grade)
See also: https://en.wikipedia.org/wiki/Dimensionless_quantity
Properties
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