screenshotOn method

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

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

Implementation

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