toggleScreenshotWithColor method

  1. @override
Future<bool> toggleScreenshotWithColor({
  1. int color = 0xFF000000,
})
override

Implementation

@override
Future<bool> toggleScreenshotWithColor({int color = 0xFF000000}) async {
  _isProtectionOn ? _disableProtection() : _enableProtection();
  return _isProtectionOn;
}