Blocks screenshots and screen recordings.
@override Future<void> block() async { // Send method call to block screenshots. await methodChannel.invokeMethod<String>(AppConfig.blockScreenshot); }