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