pop<T extends Object?> method
Requests a pop. The exit guard may asynchronously veto it.
Implementation
bool pop<T extends Object?>([T? result]) {
_ensureOpen();
if (!canPop) return false;
unawaited(_pop(result));
return true;
}