Weight.fromImperialTons constructor
Weight.fromImperialTons(
- Rational imperialTons
Creates a Weight representing the specified number of imperialTons
.
Implementation
factory Weight.fromImperialTons(Rational imperialTons) =>
Weight.fromUnits(WeightUnit.imperialTon, imperialTons);