enableScreenshot method

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

Implementation

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