LegalEntityPersonVerificationDocument.fromJson constructor
LegalEntityPersonVerificationDocument.fromJson(
- Object? json
Implementation
factory LegalEntityPersonVerificationDocument.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return LegalEntityPersonVerificationDocument(
back: map['back'] == null ? null : FileOrId.fromJson(map['back']),
details: map['details'] == null ? null : (map['details'] as String),
detailsCode:
map['details_code'] == null ? null : (map['details_code'] as String),
front: map['front'] == null ? null : FileOrId.fromJson(map['front']),
);
}