removeCard method

  1. @override
bool removeCard(
  1. Card card
)
override

Remove a specific Card from the Deck by its identity. (e.g. d.removeCard(Card.JackOfClubs)).

Implementation

@override
bool removeCard(Card card) {
  return _cards.removeCard(card);
}