PaymentIntentBillingDetails.fromJson constructor
PaymentIntentBillingDetails.fromJson(
- Object? json
Implementation
factory PaymentIntentBillingDetails.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return PaymentIntentBillingDetails(
address: map['address'] == null
? null
: AccountSupportAddress.fromJson(map['address']),
email: map['email'] == null ? null : (map['email'] as String),
name: map['name'] == null ? null : (map['name'] as String),
phone: map['phone'] == null ? null : (map['phone'] as String),
);
}