copyWith method
GetVerifiedConfig
copyWith({
- DocumentReaderConfig? documentReader,
- FaceSDKConfig? faceSDK,
- ScreensConfig? screens,
- ByteData? license,
- String? faceApiUrl,
- String? documentReaderUrl,
- Future<
bool> onReprocess()?,
Creates a copy with optional parameter overrides
Implementation
GetVerifiedConfig copyWith({
DocumentReaderConfig? documentReader,
FaceSDKConfig? faceSDK,
ScreensConfig? screens,
ByteData? license,
String? faceApiUrl,
String? documentReaderUrl,
Future<bool> Function(
String docTransactionId,
String? faceLivenessTransactionId,
)?
onReprocess,
}) {
return GetVerifiedConfig(
documentReader: documentReader ?? this.documentReader,
faceSDK: faceSDK ?? this.faceSDK,
screens: screens ?? this.screens,
license: license ?? this.license,
faceApiUrl: faceApiUrl ?? this.faceApiUrl,
documentReaderUrl: documentReaderUrl ?? this.documentReaderUrl,
onReprocess: onReprocess ?? this.onReprocess,
);
}