Measure<V> class abstract

The result of a measurement stated in a known unit.

Inheritance
Implementers

Constructors

Measure()
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
standardUnit Unit
The standard unit identifies the "type" of Quantity quantity for which this measurable is employed.
no setteroverride
unit Unit
The measurement unit of this measure.
no setter
value → V
The measurement value of this measure.
no setter

Methods

compareTo(Measurable other) int
Compares this object to another object.
inherited
doubleValue(Unit unit) double
Returns the value of this measurable stated in the specified unit as a double.
inherited
intValue(Unit unit) int
Returns the estimated integral value of this measurable stated in the specified unit as an integer.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
to(Unit unit) Measure<V>
Returns the measure equivalent to this measure but stated in the specified unit.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited