pop method

T pop()

return and remove an item from the stack.

Implementation

T pop() => _stack.removeFirst();