Quantity.fromThousands constructor
Quantity.fromThousands(
- Rational thousands
Creates a Quantity representing the specified number of thousands
.
Implementation
factory Quantity.fromThousands(Rational thousands) =>
Quantity.fromUnits(QuantityUnit.thousand, thousands);