goToNamed<T extends Object?> method

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

Implementation

Future<T?> goToNamed<T extends Object?>(
  String routeName, {
  Object? arguments,
}) {
  return Navigator.pushNamed<T?>(this, routeName, arguments: arguments);
}