turnOffScreenshots method
Disables the ability to take screenshots on the device. This is useful for protecting sensitive information.
Implementation
@override
Future<void> turnOffScreenshots() async {
await methodChannel.invokeMethod('turnOffScreenshots');
}