getCurrentLocation static method

Future<Coordinate?> getCurrentLocation()

Get the latest location the user has been.

Implementation

static Future<Coordinate?> getCurrentLocation() async {
  _channel.invokeMethod("getUserLocation", null);
  return _broadcastLocationStream?.first;
}