pop<T> static method
dynamic
pop<T>([
- T? result
Implementation
static pop<T>([T? result]) {
BuildContext? context = OdinApp.get().getCurrentContext();
if (context == null) {
return;
}
if (!canPop()) {
return;
}
Navigator.of(context).pop<T>(result);
}