or method

Performs an or operation on a list of queries. All the queries must target the same collection. The result is a merge of all the queries, sorted according to the sort condition of the first query. Duplicate items will be removed.

Implementation

SnapshotEmitter<DocumentReference> or(
        Iterable<SnapshotEmitter<DocumentReference>> queries) =>
    MergedQueryBuilder._(
        queries.map((e) => e as SnapshotEmitterInternal<DocumentReference>));