pop<T extends Object?> method
void
pop<T extends Object?>([
- T? result
Pops the top location on the routing stack.
Implementation
void pop<T extends Object?>([T? result]) {
final navigatorKey = _navigatorKeys[_currentIndex];
if (navigatorKey.currentState == null) {
return;
}
navigatorKey.currentState?.pop(result);
}