PaymentMethodIdeal.fromJson constructor
PaymentMethodIdeal.fromJson(
- Object? json
Implementation
factory PaymentMethodIdeal.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodIdeal(
bank: map['bank'] == null
? null
: PaymentMethodDetailsIdealBank.fromJson(map['bank']),
bic: map['bic'] == null
? null
: PaymentMethodDetailsIdealBic.fromJson(map['bic']),
);
}