Creates a unit of measurement value with the specified baseValue.
baseValue
@override @protected Weight createValue(Rational baseValue) => Weight.fromGrams(baseValue);