WalletsTokenizationResponse.fromJson constructor

WalletsTokenizationResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

WalletsTokenizationResponse.fromJson(Map<String, dynamic> json) {
  type = (json['type'] as String?)!;
  token = (json['token'] as String?)!;
  expiresOn = (json['expires_on'] as String?)!;
  expiryMonth = (json['expiry_month'] as int?)!;
  expiryYear = (json['expiry_year'] as int?)!;
  scheme = json['scheme'] as String?;
  last4 = (json['last4'] as String?)!;
  bin = (json['bin'] as String?)!;
  cardType = json['card_type'] as String?;
  cardCategory = json['card_category'] as String?;
  issuer = json['issuer'] as String?;
  issuerCountry = json['issuer_country'] as String?;
  productId = json['product_id'] as String?;
  productType = json['product_type'] as String?;
}