Weight.fromPounds constructor
Weight.fromPounds(
- Rational pounds
Creates a Weight representing the specified number of pounds
.
Implementation
factory Weight.fromPounds(Rational pounds) =>
Weight.fromUnits(WeightUnit.pound, pounds);