restore method
Restores the current route matches with the matchList
.
Implementation
void restore(String location, {required RouteMatchList matchList}) {
_setValue(
matchList.uri.toString(),
RouteInformationState<void>(
extra: matchList.extra,
baseRouteMatchList: matchList,
type: NavigatingType.restore,
),
);
}