captureSinkTransformer constant Null safety
A sink transformer that captures events into Result
s.
The result of the transformation is a sink that only forwards Result
values and no error events.
Implementation
static const StreamSinkTransformer<Object, Result<Object>>
captureSinkTransformer =
StreamSinkTransformer<Object, Result<Object>>.fromStreamTransformer(
CaptureStreamTransformer<Object>());