StreamingJsonParser class

Parses partial JSON output from a streaming AI response.

Constructors

StreamingJsonParser()

Properties

fields → Map<String, String>
Returns all top-level string values, even if the JSON is incomplete.
no setter
hashCode → int
The hash code for this object.
no setterinherited
isComplete → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

complete() → Map<String, Object?>?
consume(String chunk) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited