Unitz class abstract
The entry point for Unitz.
Also holds global configuration settings.
Constructors
- Unitz()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
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
Static Properties
-
binaryPrefixes
→ List<
UnitPrefix> -
final
-
decimalPrefixes
→ List<
UnitPrefix> -
final
- precision ↔ int
-
The number of decimal places to represent.
getter/setter pair
- removeTrailingZeros ↔ bool
-
Used to strip trailing zeros from the
formatted
value.getter/setter pair - usePrefix ↔ bool
-
Uses a UnitPrefix when required.
getter/setter pair