PaymentMethodDetailsCardChecks.fromJson constructor
PaymentMethodDetailsCardChecks.fromJson(
- Object? json
Implementation
factory PaymentMethodDetailsCardChecks.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentMethodDetailsCardChecks(
addressLine1Check: map['address_line1_check'] == null
? null
: (map['address_line1_check'] as String),
addressPostalCodeCheck: map['address_postal_code_check'] == null
? null
: (map['address_postal_code_check'] as String),
cvcCheck: map['cvc_check'] == null ? null : (map['cvc_check'] as String),
);
}