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