Weight.fromUsTons constructor

Weight.fromUsTons(
  1. Rational usTons
)

Creates a Weight representing the specified number of usTons.

Implementation

factory Weight.fromUsTons(Rational usTons) =>
    Weight.fromUnits(WeightUnit.usTon, usTons);