SequenceEqualStream<S, T> constructor

SequenceEqualStream<S, T>(
  1. Stream<S> stream,
  2. Stream<T> other,
  3. {bool equals(
    1. S s,
    2. T t
    )}
)

Creates a Stream that emits true or false, depending on the equality between the provided Streams. This single value is emitted when both provided Streams are complete. After this event, the Stream closes.

Implementation

SequenceEqualStream(Stream<S> stream, Stream<T> other,
    {bool Function(S s, T t) equals})
    : _controller = _buildController(stream, other, equals);