Weight.fromUsTons constructor
Weight.fromUsTons(
- Rational usTons
Creates a Weight representing the specified number of usTons
.
Implementation
factory Weight.fromUsTons(Rational usTons) =>
Weight.fromUnits(WeightUnit.usTon, usTons);