stream method Null safety

Stream<T> stream()

Finds Objects matching the query, streaming them while the query executes.

Note: make sure you evaluate performance in your use case - streams come with an overhead so a plain find() is usually faster.

Implementation

Stream<T> stream() => _stream1();