toJson method

Map<String, String> toJson()

Implementation

Map<String, String> toJson() => {
  'cardNumber': cardNumber,
  'cardDate': cardDate,
  'cardCvc': cardCvc
};