compiled method
ServerRoute<P, S, D>
compiled({
- required String path,
- PathParams<
P> ? params, - SearchParams<
S> ? search, - required bool terminal,
- Iterable<
RouteNode> children = const <RouteNode>[],
Binds generated file-system path information.
Implementation
ServerRoute<P, S, D> compiled({
required String path,
PathParams<P>? params,
SearchParams<S>? search,
required bool terminal,
Iterable<RouteNode> children = const <RouteNode>[],
}) => ServerRoute<P, S, D>._(
definition: definition.compiled(
path: path,
params: params,
search: search,
terminal: terminal,
children: children,
),
load: load,
middleware: middleware,
handlers: handlers,
);