IssuingCardWallets.fromJson constructor
IssuingCardWallets.fromJson(
- Object? json
Implementation
factory IssuingCardWallets.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return IssuingCardWallets(
applePay: IssuingCardApplePay.fromJson(map['apple_pay']),
googlePay: IssuingCardGooglePay.fromJson(map['google_pay']),
primaryAccountIdentifier: map['primary_account_identifier'] == null
? null
: (map['primary_account_identifier'] as String),
);
}