Card constructor

const Card({
  1. required int quantity,
  2. required String name,
  3. required String set,
  4. required String code,
  5. required CardType cardType,
})

Implementation

const Card({
  required this.quantity,
  required this.name,
  required this.set,
  required this.code,
  required this.cardType,
});