IDFlowDocumentConfig.fromJson constructor
IDFlowDocumentConfig.fromJson(
- Map<String, dynamic> json
)
Implementation
factory IDFlowDocumentConfig.fromJson(Map<String, dynamic> json) {
return IDFlowDocumentConfig(
uiVariant: IDFlowDocumentUiVariant.fromJson(json['uiVariant']),
isResident: json['isResident'],
detectDocumentDuringSelfie: json['detectDocumentDuringSelfie'],
countdownEnabled: json['countdownEnabled'],
flashlightEnabled: json['flashlightEnabled'],
instructionEnabled: json['instructionEnabled'],
documentEditEnabled: json['documentEditEnabled'],
);
}