AgentSessionDocument class final

Implemented types

Constructors

AgentSessionDocument.fromTrusted({required String id, required AgentSessionStatus status, List<AgentMessage>? messages, List<AgentToolCall>? toolCalls, String? activeTool, int? turns})

Properties

activeTool → String?
final
hashCode → int
The hash code for this object.
no setteroverride
id → String
final
messages → List<AgentMessage>?
final
principalKey → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → AgentSessionStatus
final
toolCalls → List<AgentToolCall>?
final
turns → int?
final

Methods

copyWith({String? id, AgentSessionStatus? status, Object? messages = _sentinel, Object? toolCalls = _sentinel, Object? activeTool = _sentinel, Object? turns = _sentinel}) → AgentSessionDocument
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
override
toWire() → Map<String, Object?>

Operators

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