restore method

void restore(
  1. String location, {
  2. required RouteMatchList matchList,
})

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,
    ),
  );
}