query3<A, B, C> method

Query3<A, B, C> query3<A, B, C>({
  1. List<Type> withTypes = const <Type>[],
  2. List<Type> withoutTypes = const <Type>[],
})

Creates a three-component query over A, B and C.

Implementation

Query3<A, B, C> query3<A, B, C>({
  List<Type> withTypes = const <Type>[],
  List<Type> withoutTypes = const <Type>[],
}) {
  return Query3<A, B, C>(
    this,
    stores.object<A>(),
    stores.object<B>(),
    stores.object<C>(),
    withTypes.map(stores.require).toList(growable: false),
    withoutTypes.map(stores.require).toList(growable: false),
  );
}