CardInfo.from constructor

CardInfo.from(
  1. Map json
)

Convert Map to CardInfo

Implementation

CardInfo.from(Map json)
    : bank = json['bank'],
      country = json['country'],
      type = json['type'],
      brand = json['brand'],
      cardArtUrl = json['cardArtUrl'],
      fingerprint = json['fingerprint'];