hideCurrentLocation method

  1. @override
Future<void> hideCurrentLocation()
override

Implementation

@override
Future<void> hideCurrentLocation() async {
  try {
    await methodChannel.invokeMethod('hideCurrentLocation');
  } on PlatformException catch (e) {
    throw Exception("Failed to hide current location: '${e.message}'.");
  }
}