createValue method

  1. @override
  2. @protected
Quantity createValue(
  1. Rational baseValue
)
override

Creates a unit of measurement value with the specified baseValue.

Implementation

@override
@protected
Quantity createValue(Rational baseValue) => Quantity.fromOnes(baseValue);