screenshotOff method

  1. @override
Future<bool> screenshotOff()
override

Return true if screenshot capabilities has been successfully disabled or is currently disabled and false otherwise. throw UnmimplementedError if not implement

Implementation

@override
Future<bool> screenshotOff() async {
  final result = await methodChannel.invokeMethod<bool>(screenShotOffConst);
  return result ?? false;
}