CompileQuery.viewQuery constructor

CompileQuery.viewQuery({
  1. required CompileQueryMetadata metadata,
  2. required ViewStorage storage,
  3. required CompileView queryRoot,
  4. required ProviderSource boundDirective,
  5. required int queryIndex,
})

Implementation

factory CompileQuery.viewQuery({
  required CompileQueryMetadata metadata,
  required ViewStorage storage,
  required CompileView queryRoot,
  required ProviderSource boundDirective,
  required int queryIndex,
}) {
  return _ListCompileQuery(
    metadata,
    storage,
    queryRoot,
    boundDirective,
    nodeIndex: _viewQueryNodeIndex,
    queryIndex: queryIndex,
  );
}