AccountDocuments.fromJson constructor
AccountDocuments.fromJson(
- Object? json
Implementation
factory AccountDocuments.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return AccountDocuments(
bankAccountOwnershipVerification:
map['bank_account_ownership_verification'] == null
? null
: AccountBankAccountOwnershipVerification.fromJson(
map['bank_account_ownership_verification']),
companyLicense: map['company_license'] == null
? null
: AccountBankAccountOwnershipVerification.fromJson(
map['company_license']),
companyMemorandumOfAssociation:
map['company_memorandum_of_association'] == null
? null
: AccountBankAccountOwnershipVerification.fromJson(
map['company_memorandum_of_association']),
companyMinisterialDecree: map['company_ministerial_decree'] == null
? null
: AccountBankAccountOwnershipVerification.fromJson(
map['company_ministerial_decree']),
companyRegistrationVerification:
map['company_registration_verification'] == null
? null
: AccountBankAccountOwnershipVerification.fromJson(
map['company_registration_verification']),
companyTaxIdVerification: map['company_tax_id_verification'] == null
? null
: AccountBankAccountOwnershipVerification.fromJson(
map['company_tax_id_verification']),
proofOfRegistration: map['proof_of_registration'] == null
? null
: AccountBankAccountOwnershipVerification.fromJson(
map['proof_of_registration']),
);
}