pickLocation method
Pick location from map
Implementation
@override
Future<Map<String, dynamic>>pickLocation() async{
try {
final result = await methodChannel.invokeMethod('pickLocation');
return Map<String, dynamic>.from(result);
} on PlatformException catch (e) {
throw Exception('PICK_LOCATION_ERROR: ${e.message}');
}
}