HRoute constructor

HRoute({
  1. required String path,
  2. required HttpMethod method,
  3. required RequestHandler handler,
  4. FilterConfig filterConfig = const FilterConfig([]),
  5. List<HRoute> routes = const [],
})

Implementation

HRoute({
  required super.path,
  required super.method,
  required super.handler,
  super.filterConfig,
  this.routes = const [],
}) : super.build();