toJson method
Implementation
Map<String, dynamic> toJson() => {
"id": id,
"type": type,
"address": address.toJson(),
"name": name,
"last4": last4,
"expiration_year": expirationYear,
"expiration_month": expirationMonth,
"fingerprint_token": fingerprintToken,
};