toJson method

Map<String, dynamic> toJson()

Converts this instance of LookupData to a JSON map.

Implementation

Map<String, dynamic> toJson() {
  return {
    'brand': brand,
    'cardType': cardType,
    'firstSixDigits': firstSixDigits,
    'issuer': issuer,
    'issuerCountry': issuerCountry,
    'issuerCountryCode': issuerCountryCode,
    'product': product,
  };
}