disableScreenshot method

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

Implementation

@override
Future<bool> disableScreenshot() async{
  try {
    final bool? result = await methodChannel.invokeMethod(
        'disableScreenShot');
    return result ?? false;
  }catch(e){
    return false;
  }
}