kmDistance method
return distance between GeoFirePoint and (lat
, lng
)
Implementation
double kmDistance({required double lat, required double lng}) {
return kmDistanceBetween(from: coords, to: Coordinates(lat, lng));
}
return distance between GeoFirePoint and (lat
, lng
)
double kmDistance({required double lat, required double lng}) {
return kmDistanceBetween(from: coords, to: Coordinates(lat, lng));
}