pop<T> method
Removes the top-most route from the stack.
Works with routes pushed with flutter's Navigator too.
Implementation
@override
void pop<T>([T? result]) {
if (!rootNavigatorNode.pop(result)) {
SystemNavigator.pop();
}
}