getCurrentLocation method

  1. @override
Future<GeoPoint> getCurrentLocation()
override

Implementation

@override
Future<GeoPoint> getCurrentLocation() async {
  final value = await _invokeValue<Map>(
    'getCurrentLocation',
    'android#location#get',
  );
  return GeoPoint.fromMap(value);
}