pushN method

  1. @override
void pushN(
  1. int n,
  2. Iterable<Card> cards
)
override

Push a number of Cards back onto the Deck.

Implementation

@override
void pushN(int n, Iterable<Card> cards) {
  _cards.pushN(n, cards.map((c) => validCard(c)));
}