AccountUpdateOptionsSettings.fromJson constructor
AccountUpdateOptionsSettings.fromJson(
- Object? json
Implementation
factory AccountUpdateOptionsSettings.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return AccountUpdateOptionsSettings(
bacsDebitPayments: map['bacs_debit_payments'] == null
? null
: AccountBacsDebitPayments.fromJson(map['bacs_debit_payments']),
branding: map['branding'] == null
? null
: AccountBranding.fromJson(map['branding']),
cardIssuing: map['card_issuing'] == null
? null
: AccountCardIssuing.fromJson(map['card_issuing']),
cardPayments: map['card_payments'] == null
? null
: AccountCardPayments.fromJson(map['card_payments']),
invoices: map['invoices'] == null
? null
: AccountInvoices.fromJson(map['invoices']),
payments: map['payments'] == null
? null
: AccountPayments.fromJson(map['payments']),
payouts: map['payouts'] == null
? null
: AccountPayouts.fromJson(map['payouts']),
treasury: map['treasury'] == null
? null
: AccountCardIssuing.fromJson(map['treasury']),
);
}