Length.fromInches constructor

const Length.fromInches(
  1. double inches
)

Returns a new Length object from the number of inches.

Implementation

const Length.fromInches(double inches) : super(inches * _nanometresPerInch);