Route.build constructor

Route.build({
  1. required String path,
  2. required HttpMethod method,
  3. required RequestHandler handler,
  4. FilterConfig filterConfig = const FilterConfig([]),
})

Implementation

Route.build({
  required this.path,
  required this.method,
  required this.handler,
  this.filterConfig = const FilterConfig([]),
});