ClientRequest class final
ACP stable-v1 ClientRequest.
Source: /$defs/ClientRequest.
A JSON-RPC request object.
- Annotations
-
- @immutable
Constructors
- ClientRequest({required RequestId id, required String method, Object? params})
-
ClientRequest.fromMap(Map<
Object?, Object?> value) -
factory
Properties
Methods
-
copyWith(
{Object? id = _acpCopyWithAbsent, Object? method = _acpCopyWithAbsent, Object? params = _acpCopyWithAbsent}) → ClientRequest -
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