fromJson static method

CardBrand? fromJson(
  1. dynamic data
)

Implementation

static CardBrand? fromJson(dynamic data) {
  var json = DynamicJsonExtension.getJsonMap(data);
  return CardBrand(
    first6Digits: json['first6Digits'],
    brand: BrandExtension.fromJson(json['brand']),
    brandIconUrl: json['brandIconUrl'],
  );
}