isMockLocationEnabled method

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

Implementation

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