blockAndroidApps method

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

Android-specific implementation for blocking apps

Implementation

@override
Future<void> blockAndroidApps() async {
  try {
    await methodChannel.invokeMethod('blockApp');
  } on PlatformException catch (e) {
    debugPrint('Failed to block Android app: ${e.message}');
  }
}