toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  map['number'] = number;
  map['expireMonth'] = expireMonth;
  map['expireYear'] = expireYear;
  map['cvv'] = cvv;
  return map;
}