UnitOfMeasurementRate<TValue extends UnitOfMeasurement> class
abstract
Base class for a unit of measurement rate.
A unit of measurement rate is the combination of a unit of measurement value and a period that indicates how often that value is occurring or compounding.
Constructors
- UnitOfMeasurementRate({required TValue value, required Duration period})
-
Creates a unit of measurement rate with the specified value and period.
const
Properties
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.
override