pop<T> method
- @deprecated
- [T result]
Pop the top-most route off the navigator.
Deprecated
. Will be removed in the next version.
Should call BuildContext.navigator.pop()
instead.
Implementation
@deprecated
T pop<T>([T result]) {
Navigator.of(this).pop(result);
return result;
}