restorablePopAndPushNamed<T extends Object?, TO extends Object?> method

  1. @optionalTypeArgs
String restorablePopAndPushNamed<T extends Object?, TO extends Object?>(
  1. String routeName, {
  2. TO? result,
  3. Object? arguments,
})

Pop the current route off the navigator and push a named route in its place.

Implementation

@optionalTypeArgs
String restorablePopAndPushNamed<T extends Object?, TO extends Object?>(
        String routeName,
        {TO? result,
        Object? arguments}) =>
    appState!.restorablePopAndPushNamed<T, TO>(routeName,
        result: result, arguments: arguments);