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
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