getCurrentLocation method

Future<GeoPoint> getCurrentLocation()

Implementation

Future<GeoPoint> getCurrentLocation() async {
  final transport = await _controller._locationTransport(
    'getCurrentLocation',
    requestPermission: true,
  );
  return transport.getCurrentLocation();
}