Length.fromNauticalMiles constructor

const Length.fromNauticalMiles(
  1. double nauticalMiles
)

Returns a new Length object from the number of nautical miles.

Implementation

const Length.fromNauticalMiles(double nauticalMiles)
    : super(nauticalMiles * _nanometresPerNauticalMile);