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

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

Implementation

Future<T?> popAndPushNamed<T extends Object?, TO extends Object?>(
    String routeName,
    {TO? result,
    Object? arguments}) {
  return navigator.popAndPushNamed<T, TO>(routeName,
      result: result, arguments: arguments);
}