setAntiSpoof method
Enable/disable anti-spoof detection. When enabled, detection is skipped if the image appears to be from a screen/monitor.
Implementation
Future<void> setAntiSpoof({required bool enabled}) async {
await _methodChannel.invokeMethod('setAntiSpoof', {'enabled': enabled});
}