toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'first_six_digits': firstSixDigits,
'last_four_digits': lastFourDigits,
'card_scheme': cardScheme,
'card_holder_name': cardHolderName,
'expiry_year': expiryYear,
'expiry_month': expiryMonth,
'is_live': isLive,
'access_token': accessToken,
'card_token': cardToken,
'cvv': cvv,
'save_card': saveCard,
'fingerprint': fingerprint,
};
}