GeoDistance.fromMiles constructor

GeoDistance.fromMiles(
  1. double miles
)

Create a distance from miles

Implementation

factory GeoDistance.fromMiles(double miles) => GeoDistance.fromMeters(miles * _metersPerMile);