PaymentMethodFpx.fromJson constructor
PaymentMethodFpx.fromJson(
- Object? json
Implementation
factory PaymentMethodFpx.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodFpx(
accountHolderType: map['account_holder_type'] == null
? null
: InboundTransfersPaymentMethodDetailsUsBankAccountAccountHolderType
.fromJson(map['account_holder_type']),
bank: PaymentMethodDetailsFpxBank.fromJson(map['bank']),
);
}