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
Static Methods
-
fromJson(
Map< String, dynamic> json) → ZorphyBoundaryResult<AgentSessionDocument> -
fromWire(
Map< String, Object?> raw) → ZorphyBoundaryResult<AgentSessionDocument> -
resolvePath(
String pointer) → ZorphyLens< AgentSessionDocument, Object?> ? - Resolves a JSON Pointer into a ZorphyLens over AgentSessionDocument.
Constants
-
descriptor
→ const ZorphyEntityDescriptor<
AgentSessionDocument> - lenses → const AgentSessionDocumentLenses