Pile constructor

const Pile({
  1. required List<Card> cards,
  2. required int value,
  3. required Mark mark,
  4. required bool owner,
})

Implementation

const Pile({
  required this.cards,
  required this.value,
  required this.mark,
  required this.owner,
});