LegalEntityCompanyVerificationDocument.fromJson constructor

LegalEntityCompanyVerificationDocument.fromJson(
  1. Object? json
)

Implementation

factory LegalEntityCompanyVerificationDocument.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return LegalEntityCompanyVerificationDocument(
    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']),
  );
}