pushNamed<T extends Object?> method

  1. @optionalTypeArgs
Future<T?> pushNamed<T extends Object?>(
  1. String routeName, {
  2. Object? arguments,
})

Push a named route onto the navigator.

Implementation

@optionalTypeArgs
Future<T?> pushNamed<T extends Object?>(
  String routeName, {
  Object? arguments,
}) async {
  final push = appNavigator?.pushNamed<T>(routeName, arguments: arguments);
  return push;
}