Unit class

Properties

hashCode int
The hash code for this object.
no setteroverride
reciprocal Unit
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canBeConvertedTo(Unit other) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator *(Unit that) Unit
operator /(Unit that) Unit
operator ==(dynamic that) bool
The equality operator.
override

Static Methods

tryParse(String string) Unit?
Convert string to a unit, returning null in case the string couldn't be parsed.

Constants

unity → const Unit