getLocation method

  1. @override
Future<Map?> getLocation()
override

for get location details

Implementation

@override
Future<Map<dynamic, dynamic>?> getLocation() async {
  final version =
      await methodChannel.invokeMethod<Map<dynamic, dynamic>>('getLocation');
  return version;
}