computeDistanceBetween static method

num computeDistanceBetween(
  1. ILatLng from,
  2. ILatLng to
)

Implementation

static num computeDistanceBetween(ILatLng from, ILatLng to) =>
    computeAngleBetween(from, to) * earthRadius;