shelfRouter function

Builder shelfRouter(
  1. BuilderOptions _
)

A Builder that generates a _$<className>Router(<className> service) function for each class <className> containing a member annotated with shelf_router.Route.

Implementation

Builder shelfRouter(BuilderOptions _) => SharedPartBuilder(
      [ShelfRouterGenerator()],
      'shelf_router',
    );