pop method
T
pop()
Removes and returns the top element.
Implementation
T pop() {
final res = _list.last;
_list.removeLast();
return res;
}
Removes and returns the top element.
T pop() {
final res = _list.last;
_list.removeLast();
return res;
}