clear method

  1. @override
void clear()
override

Empty the stack.

Implementation

@override
void clear() {
  _cards.clear();
}