ThinkingTextMessageEndEvent class final
Event indicating the end of a thinking text message.
Deprecated in favor of ReasoningMessageEndEvent, mirroring the
canonical TypeScript SDK deprecation of THINKING_TEXT_MESSAGE_* in
favor of REASONING_*. Decoding remains supported for backward
compatibility; scheduled for removal in 1.0.0.
- Inheritance
- Annotations
-
- @Deprecated(_kThinkingTextMessageEndEventDeprecation)
Constructors
- ThinkingTextMessageEndEvent({int? timestamp, dynamic rawEvent})
-
const
-
ThinkingTextMessageEndEvent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- eventType → EventType
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- rawEvent → dynamic
-
The original wire-format payload, preserved verbatim for proxy
scenarios. Typed
dynamicbecause the protocol does not constrain the shape (TS:z.unknown(), Python:Any). No validation is performed; the raw value flows through unchanged via every factory (which reads bothrawEventandraw_eventvia the private_readRawEventhelper, with camelCase precedence) and is re-emitted as-is fromtoJsonwhen non-null.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → int?
-
finalinherited
- type → String
-
The type discriminator field value.
no setterinherited
Methods
-
copyWith(
{int? timestamp, dynamic rawEvent}) → ThinkingTextMessageEndEvent -
Creates a copy of this model with optional field updates.
Subclasses should override this with their specific type.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this model to a JSON map.
inherited
-
toJsonString(
) → String -
Converts this model to a JSON string.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited