toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'brand': brand,
    'holder_name': holderName,
    'display_number': displayNumber,
    'bin': bin,
    'year': year,
    'month': month,
    'last_digits': lastDigits,
    'first_digits': firstDigits,
    'masked_number': maskedNumber,
  };
}