ThinkingDelta class

One delta emitted on the ModelProvider.thinking stream.

Constructors

ThinkingDelta({required String text, required bool isFinal})
const
ThinkingDelta.fromJson(Map<String, dynamic> json)
Decodes a thinking-stream delta from the provider wire.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
isFinal bool
True when this delta is the last fragment of the current turn.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Text fragment for the thinking panel.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Encodes this delta for transport across the provider boundary.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override