RemoteA2aConfig class

Shared configuration for connecting to a remote A2A agent.

Constructors

RemoteA2aConfig({AgentCard? agentCard, String? agentRegistry, ApiAuthentication? apiAuthentication, String? contextId, Map<String, String>? inputVariableMapping, Map<String, String>? outputVariableMapping, bool? streamingEnabled})
RemoteA2aConfig.fromJson(Map json_)

Properties

agentCard ↔ AgentCard?
The full agent card defined inline.
getter/setter pair
agentRegistry ↔ String?
Reference to the agent in the Agent Registry.
getter/setter pair
apiAuthentication ↔ ApiAuthentication?
Authentication configuration for calling the remote agent.
getter/setter pair
contextId ↔ String?
If not empty, interactions with the remote A2A agent will use this context ID.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
inputVariableMapping ↔ Map<String, String>?
Mapping of input variable names of remote agent to GECX variable names.
getter/setter pair
outputVariableMapping ↔ Map<String, String>?
Mapping of output variable names of remote agent to GECX variable names.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
streamingEnabled ↔ bool?
Whether streaming is enabled for the remote agent.
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