pushNamed<T extends Object?>  method 
Adds corresponding page to given path to _pages stack
Implementation
@Deprecated('Use pushPath instead')
Future<T?> pushNamed<T extends Object?>(
  String path, {
  bool includePrefixMatches = false,
  OnNavigationFailure? onFailure,
}) =>
    pushPath<T>(
      path,
      includePrefixMatches: includePrefixMatches,
      onFailure: onFailure,
    );