JsonRpcRequestConfig class abstract

JSON RPC Request Config

Constructors

JsonRpcRequestConfig({required int? id, required JsonRpcHttpHeaders? headers, required Duration? timeout})
Defines the configurations for JSON-RPC requests.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
headers JsonRpcHttpHeaders?
The request's HTTP headers.
final
id int?
A unique client-generated identifier.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeout Duration?
The request's timeout duration.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
object() Map<String, dynamic>
Returns the configuration object passed to a method call as the last item in the params list.
toString() String
A string representation of this object.
inherited

Operators

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