A2AJSONParseError class final
JSON-RPC error indicating invalid JSON was received by the server.
Constructors
- A2AJSONParseError.new()
-
A2AJSONParseError.fromJson(Map<
String, dynamic> json) -
factory
Properties
- code ↔ int
-
A Number that indicates the error type that occurred.
getter/setter pair
- data ↔ A2ASV?
-
A Primitive or Structured value that contains additional information about the error.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String
-
A String providing a short description of the error.
getter/setter pair
- rpcErrorCode ↔ int
-
The error code as received from the RPC call.
Can be used to ascertain the type of the error received to allow
correct type casting.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited