buildState method
Gets the state that represent this route match.
Implementation
@override
GoRouterState buildState(
RouteConfiguration configuration, RouteMatchList matches) {
return GoRouterState(
configuration,
uri: matches.uri,
matchedLocation: matchedLocation,
fullPath: matches.fullPath,
pathParameters: matches.pathParameters,
pageKey: pageKey,
name: route.name,
path: route.path,
extra: matches.extra,
topRoute: matches.lastOrNull?.route,
);
}