A2ATaskArtifactUpdateEvent class final

An event sent by the agent to notify the client that an artifact has been generated or updated. This is typically used in streaming models.

Annotations
  • @JsonSerializable(explicitToJson: true)

Properties

append bool?
If true, the content of this artifact should be appended to a previously sent artifact with the same ID.
getter/setter pair
artifact A2AArtifact?
The artifact that was generated or updated.
getter/setter pair
contextId String
The context ID associated with the task.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
kind String
he type of this event, used as a discriminator. Always 'artifact-update'.
getter/setter pair
lastChunk bool?
If true, this is the final chunk of the artifact.
getter/setter pair
metadata A2ASV?
Extension metadata.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskId String
The ID of the task this artifact belongs to.
getter/setter pair

Methods

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.
inherited

Operators

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