Distance.ofInches constructor

  1. @Deprecated("Use 'inches()' instead")
Distance.ofInches(
  1. num inches, {
  2. Precision precision = Precision.max,
})

Implementation

@Deprecated("Use 'inches()' instead")
Distance.ofInches(final num inches,
    {final Precision precision = Precision.max})
    : super(DistanceInterpreter._inches._from(inches), precision);