LinearUnit<T extends LinearUnit<T> > class
abstract
A contract for units that scale linearly (via a simple multiplier).
Most physical units (Length, Mass, Speed) are linear. Non-linear units (like absolute Temperature) implement Unit directly instead.
Constructors
- LinearUnit()
-
Creates a LinearUnit.
This constructor is used only by subclasses.
const
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