Quantity.fromThousands constructor

Quantity.fromThousands(
  1. Rational thousands
)

Creates a Quantity representing the specified number of thousands.

Implementation

factory Quantity.fromThousands(Rational thousands) =>
    Quantity.fromUnits(QuantityUnit.thousand, thousands);