GelatoVerificationSessionOptions.fromJson constructor
GelatoVerificationSessionOptions.fromJson(
- Object? json
Implementation
factory GelatoVerificationSessionOptions.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return GelatoVerificationSessionOptions(
document: map['document'] == null
? null
: GelatoSessionDocumentOptions.fromJson(map['document']),
idNumber: map['id_number'] == null
? null
: GelatoSessionIdNumberOptions.fromJson(map['id_number']),
);
}