DerivedUnit class abstract
The units created by combining or transforming other units.
- Inheritance
- Implementers
Constructors
- DerivedUnit()
-
const
Properties
- dimension → Dimension
-
The dimension of this unit.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isStandardUnit → bool
-
Indicates if this unit is a standard unit.
no setterinherited
- quantity → Quantity
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- standardUnit → Unit
-
////////////////////////////////////////////////
////////////////////////////////////////////////
The BaseUnit base unit, AlternateUnit alternate unit or product of
base units and alternate units this unit is derived from.
no setterinherited
Methods
-
divide(
Unit that) → Unit -
The quotient of this unit with the one specified.
inherited
-
getConverterTo(
Unit that) → UnitConverter -
Returns a converter of numeric values from this unit to another unit.
inherited
-
inverse(
) → Unit -
The inverse of this unit.
inherited
-
isCompatible(
Unit that) → bool -
Indicates if this unit is compatible with the unit specified.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
plus(
num offset) → Unit -
The result of adding an offset to this unit.
inherited
-
pow(
RationalNumber pow) → Unit -
inherited
-
scaled(
num factor, [num divisor = 1]) → Unit -
The result of multiplying this unit by a factor.
inherited
-
times(
Unit that) → Unit -
The product of this unit with the one specified.
inherited
-
toStandardUnit(
) → UnitConverter -
Returns the converter from this unit to its standard unit.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
UnitConverter operation) → Unit -
Returns the unit derived from this unit using the specified converter.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited