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