distanceKmBetween static method

double distanceKmBetween({
  1. required GeoValue to,
  2. required GeoValue from,
})

Calculates the distance between from and to.

Returned in kilometers.

fromtoの間の距離を計算します。

km単位で返されます。

Implementation

static double distanceKmBetween({
  required GeoValue to,
  required GeoValue from,
}) {
  return _GeoUtility.distance(from, to);
}