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.

Inheritance

Constructors

LinearUnit()
Creates a LinearUnit. This constructor is used only by subclasses.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
symbol String
A human-readable symbol or abbreviation for the unit.
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