builder library
This library provides a Builder
for generating functions that can create
a shelf_router.Router
based on annotated members.
This is not intended for consumption, this library should be used by
running pub run build_runner build
. Using this library through other means
is not supported and may break arbitrarily.
Functions
-
shelfRouter(
BuilderOptions _) → Builder -
A
Builder
that generates a_$<className>Router(<className> service)
function for each class<className>
containing a member annotated withshelf_router.Route
.