compiled method
PageRoute<P, S, D>
compiled({
- required String path,
- PathParams<
P> ? params, - SearchParams<
S> ? search, - required bool terminal,
- Iterable<
RouteNode> children = const <RouteNode>[],
Binds generated file-route configuration to this page route.
Implementation
PageRoute<P, S, D> compiled({
required String path,
PathParams<P>? params,
SearchParams<S>? search,
required bool terminal,
Iterable<RouteNode> children = const <RouteNode>[],
}) => PageRoute<P, S, D>._(
definition: definition.compiled(
path: path,
params: params,
search: search,
terminal: terminal,
children: children,
),
load: load,
build: build,
page: page,
pending: pending,
error: error,
notFound: notFound,
);