blockAndUnblockIOSApp method
iOS-specific implementation for blocking and unblocking apps
Implementation
@override
Future<void> blockAndUnblockIOSApp() async {
try {
await methodChannel.invokeMethod('blockApp');
} on PlatformException catch (e) {
debugPrint('Failed to block/Unbloc iOS app: ${e.message}');
}
}