UrlState.fromSegments constructor
UrlState.fromSegments(
- List<
RouteMatch> routes, { - bool shouldReplace = false,
Implementation
factory UrlState.fromSegments(
List<RouteMatch> routes, {
bool shouldReplace = false,
}) {
return UrlState(
_buildUri(routes),
routes,
shouldReplace: shouldReplace,
);
}