AutoRoute generates a PageRouteInfo
widget for every declared AutoRoute
widget. These objects hold path information about your routes, as well as strongly-typed page arguments which are extracted from the page's default constructor.
class BooksRoute extends PageRouteInfo {
const BooksRoute() : super(name, path: '/books');
static const String name = 'BooksRoute';
}