AIAssistantToolResultEvent class
Represents an AI Assistant tool result event.
Extends AIAssistantBaseEvent and includes result-specific data.
- Inheritance
-
- Object
- AIAssistantBaseEvent
- AIAssistantToolResultEvent
Constructors
-
AIAssistantToolResultEvent({String? streamMessageId, int? runId, String? threadId, String? toolCallId, String? content, String? role, String? toolCallName, String? displayName, String? executionText, String? arguments, int? id, String? type, String? conversationId, String? parentId, Map<
String, dynamic> ? additionalProperties}) -
AIAssistantToolResultEvent.fromMap(Map<
String, dynamic> map) -
Creates an instance from a map (similar to Android's fromJson).
factory
Properties
-
additionalProperties
↔ Map<
String, dynamic> ? -
getter/setter pairinherited
- arguments ↔ String?
-
getter/setter pair
- content ↔ String?
-
getter/setter pair
- conversationId ↔ String?
-
getter/setter pairinherited
- displayName ↔ String?
-
getter/setter pair
- executionText ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pairinherited
- parentId ↔ String?
-
getter/setter pairinherited
- role ↔ String?
-
getter/setter pair
- runId ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streamMessageId ↔ String?
-
getter/setter pair
- threadId ↔ String?
-
getter/setter pair
- toolCallId ↔ String?
-
getter/setter pair
- toolCallName ↔ String?
-
getter/setter pair
- type ↔ String?
-
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the object to a map (similar to Android's toJson).
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited