popRoute<T> method
void
popRoute<T>(
- T? result
Implementation
void popRoute<T>(T? result) {
stack.last().popCompleter.complete(result);
if (stack.pop() case final popped?) {
setStack(popped);
} else {
SystemNavigator.pop();
}
}