RouteStreamBuilder constructor
RouteStreamBuilder({})
Creates a RouteStreamBuilder.
Either url
or routeId
must be provided, but not both.
Implementation
RouteStreamBuilder({
super.key,
this.url,
this.routeId,
required this.fetchRoute,
required this.buildContent,
this.includeDrafts = false,
this.allowRefresh = true,
}) {
debugAssertOneOfPathOrRouteId(url?.toString(), routeId);
}