maybePop<T extends Object> method

  1. @override
Future<bool> maybePop<T extends Object>([
  1. T? result
])
override

Consults the current route's Route.willPop method, and acts accordingly, potentially popping the route as a result; returns whether the pop request should be considered handled.

Modular.to.maybePop();

Implementation

@override
Future<bool> maybePop<T extends Object>([T? result]) =>
    navigator.maybePop(result);