StringConversionSink.withCallback(void callback(String accumulated))

Source

factory StringConversionSink.withCallback(void callback(String accumulated)) =
    _StringCallbackSink;