allCards property

Iterable<Card> allCards
latefinal

Returns all of the cards in this collection.

Multiple copies of the same card will be returned multiple times.

To get a unique list of cards, use toSet.

Implementation

late final Iterable<Card> allCards = _cards.values.expand((e) => e.keys);