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) ==
(completer != null && baseRouteMatchList != null));