stream property

Stream<String> get stream

A stream that emits string chunks as they are parsed.

Each chunk represents a portion of the string value as it arrives from the input stream. This is useful for displaying text as it's being generated by an LLM.

Implementation

Stream<String> get stream => _stream;