shelf_router_classes library
Classes
Functions
-
getRoutersByClass(
List< Type> routeClasses) → Router -
Gets a reference list of classes as
Type
list and goes through each one of them to determine the routes within these classes, declared through a@Route
annotation. So in this case, every class would represent a bundle of controllers and every function with a@Route
annotation would represent a controller itself.