ByteConversionSink.withCallback(void callback(List<int> accumulated))

Source

factory ByteConversionSink.withCallback(
    void callback(List<int> accumulated)) = _ByteCallbackSink;