SmileIDSmartSelfieCaptureView constructor
SmileIDSmartSelfieCaptureView({})
Implementation
factory SmileIDSmartSelfieCaptureView({
Key? key,
bool showConfirmationDialog = true,
bool showInstructions = true,
bool showAttribution = true,
bool allowAgentMode = true,
required Function(String resultJson) onSuccess,
required Function(String errorMessage) onError,
}) {
return SmileIDSmartSelfieCaptureView._(
onSuccess: onSuccess,
onError: onError,
creationParams: {
"showConfirmationDialog": showConfirmationDialog,
"showInstructions": showInstructions,
"showAttribution": showAttribution,
"allowAgentMode": allowAgentMode,
},
);
}