Prefixed mixin base
Convenience mixin that allows various Unit to convert. I would like to do this on SI, but that keeps the mixin from applying to enums. I feel like I should be able to specify a mixin on something that implements an interface without requiring inheritance...
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- prefix → MetricPrefix
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbol → String
-
no setter
Methods
-
from<
T extends Unit> (PhysicalQuantities< T> s) → Measurement -
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 ==(
Object other) → bool -
The equality operator.
inherited