toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'number': number,
    'last4': last4,
    'bin': bin,
    'expires_on': expiresOn,
    'scheme': scheme,
    'expiry_month': expiryMonth,
    'expiry_year': expiryYear,
    'cvv': cvv,
  };
}