query1<A> method
Creates a single-component query over component type A.
Implementation
Query1<A> query1<A>({
List<Type> withTypes = const <Type>[],
List<Type> withoutTypes = const <Type>[],
}) {
return Query1<A>(
this,
stores.object<A>(),
withTypes.map(stores.require).toList(growable: false),
withoutTypes.map(stores.require).toList(growable: false),
);
}