InvoiceCard.fromJson constructor
InvoiceCard.fromJson(
- Object? json
Implementation
factory InvoiceCard.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return InvoiceCard(
installments: map['installments'] == null
? null
: InvoiceInstallments.fromJson(map['installments']),
requestThreeDSecure: map['request_three_d_secure'] == null
? null
: CheckoutCardPaymentMethodOptionsRequestThreeDSecure.fromJson(
map['request_three_d_secure']),
);
}