maybePop<T extends Object?>  method 
Consults the current route's Route.popDisposition method, and acts accordingly, potentially popping the route as a result; returns whether the pop request should be considered handled.
Implementation
@optionalTypeArgs
Future<bool> maybePop<T extends Object?>([T? result]) async {
  final pop = await appNavigator?.maybePop<T>(result);
  return pop ?? false;
}