openMockLocationSettings method

  1. @override
Future<bool> openMockLocationSettings()
override

Implementation

@override
Future<bool> openMockLocationSettings() async {
  try {
    final result =
        await methodChannel.invokeMethod('openMockLocationSettings');
    return result;
  } on PlatformException catch (e) {
    debugPrint('Failed to open settings: ${e.message}');
    return false;
  }
}