pop<T> method

void pop<T>([
  1. T? result
])

Implementation

void pop<T>([T? result]) async {
  if (canPop()) {
    _popAndOnResult(result);
  }
  notify();
}