pushNamed<T extends Object?> method

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

Implementation

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