AgentRequest class final
ACP stable-v1 AgentRequest.
Source: /$defs/AgentRequest.
A JSON-RPC request object.
- Annotations
-
- @immutable
Constructors
- AgentRequest({required RequestId id, required String method, Object? params})
-
AgentRequest.fromMap(Map<
Object?, Object?> value) -
factory
Properties
Methods
-
copyWith(
{Object? id = _acpCopyWithAbsent, Object? method = _acpCopyWithAbsent, Object? params = _acpCopyWithAbsent}) → AgentRequest -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → AcpJsonMap -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited