maybePop<T extends Object?> method

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

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]) =>
    appState!.maybePop<T>(result);