captureStreamTransformer constant Null safety

StreamTransformer<Object, Result<Object>> const captureStreamTransformer

A stream transformer that captures a stream of events into Results.

The result of the transformation is a stream of Result values and no error events. This is the transformer used by captureStream.

Implementation

static const StreamTransformer<Object, Result<Object>>
    captureStreamTransformer = CaptureStreamTransformer<Object>();