allowScreenshotsGlobally method

Future<void> allowScreenshotsGlobally()

Allows screenshots globally for the entire app.

This method removes security flags across the app, enabling screenshots and screen recording for all screens. Throws UnimplementedError if not implemented on a platform.

Implementation

Future<void> allowScreenshotsGlobally() {
  throw UnimplementedError(
      'allowScreenshotsGlobally() has not been implemented.');
}