pop method
Implementation
T pop() {
assert(isNotEmpty, 'Can\'t pop anything, the stack have no element!');
return _data.removeLast();
}
T pop() {
assert(isNotEmpty, 'Can\'t pop anything, the stack have no element!');
return _data.removeLast();
}