getCurrentLocation method

Future<LatLng?> getCurrentLocation()

Returns the current device position as a one-shot request.

Implementation

Future<LatLng?> getCurrentLocation() async {
  return await tracking.getCurrentLocation();
}