Weight.fromGigatonnes constructor
Weight.fromGigatonnes(
- Rational gigatonnes
Creates a Weight representing the specified number of gigatonnes
.
Implementation
factory Weight.fromGigatonnes(Rational gigatonnes) =>
Weight.fromUnits(WeightUnit.gigatonne, gigatonnes);