ChatChunk class

Available extensions

Constructors

ChatChunk({required String delta, required bool done, FinishReason? finishReason, String? rawJson})
const

Properties

delta String
final
done bool
final
finishReason FinishReason?
final
hashCode int
The hash code for this object.
no setteroverride
isDone bool

Available on ChatChunk, provided by the ChatChunkX extension

no setter
rawJson String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textDelta String

Available on ChatChunk, provided by the ChatChunkX extension

no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

default_() Future<ChatChunk>