RouteInformationState<T> constructor
RouteInformationState<T> ({
- Object? extra,
- Completer<
T?> ? completer, - RouteMatchList? baseRouteMatchList,
- required NavigatingType type,
Creates an InternalRouteInformationState.
Implementation
@visibleForTesting
RouteInformationState({this.extra, this.completer, this.baseRouteMatchList, required this.type})
: assert((type == NavigatingType.go || type == NavigatingType.restore) == (completer == null)),
assert((type != NavigatingType.go) == (baseRouteMatchList != null));