unblock method

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

Allows screenshots and screen recordings.

Implementation

@override
Future<void> unblock() async {
  // Send method call to unblock screenshots.
  await methodChannel.invokeMethod<String>(AppConfig.unBlockScreenshot);
}