toJson method
Implementation
Map<String, dynamic> toJson() => {
"id": id,
"type": type,
"category": category,
"next_action": nextAction,
"name": name,
"last4": last4,
"acs_check": acsCheck,
"cvv_check": cvvCheck,
"expiration_year": expirationYear,
"expiration_month": expirationMonth,
"fingerprint_token": fingerprintToken,
"redirect_url": redirectUrl,
};