maybePop<T extends Object?> method

Future<bool?> maybePop<T extends Object?>([
  1. T? result,
  2. NavigatorStateGetter? navigatorStateGetter
])

Implementation

Future<bool?> maybePop<T extends Object?>([
  T? result,
  NavigatorStateGetter? navigatorStateGetter,
]) {
  final pop = NavMaybePopAction(result);
  _navDelegate(pop, navigatorStateGetter);
  return pop.result;
}