gotoLocation method
Implementation
@override
Future<bool> gotoLocation(String location) async {
try {
final result = await methodChannel.invokeMethod<bool>('gotoLocation', {
'location': location,
});
return result ?? false;
} on PlatformException catch (e) {
debugPrint('Error calling goTo: ${e.message}');
return false;
}
}