GeoDistance.fromKilometers constructor

GeoDistance.fromKilometers(
  1. double kilometers
)

Create a distance from kilometers

Implementation

factory GeoDistance.fromKilometers(double kilometers) => GeoDistance.fromMeters(kilometers * 1000);