Length.fromInches constructor
Length.fromInches(
- Rational inches
Creates a Length representing the specified number of inches
.
Implementation
factory Length.fromInches(Rational inches) =>
Length.fromUnits(LengthUnit.inch, inches);