pop method
void
pop({
- dynamic result,
Pop the current widget from the stack.
Implementation
void pop({dynamic result, bool rootNavigator = false}) {
if (!mounted) return;
Navigator.of(context, rootNavigator: rootNavigator).pop(result);
}