value property

double get value

Returns the numerical value of this quantity in its original unit.

Example:

final length = Length(10.5, LengthUnit.meter);
print(length.value); // Output: 10.5

Implementation

double get value => _value;