RPCClient class

Constructors

RPCClient({String rpcAddress = 'http://127.0.0.1:4003', int id = 0})

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
getter/setter pair
rpcAddress String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

makeRpcRequest(BaseRequest request) Future<RPCResponse>
Make a request, and return deserialized response
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rpcPost(Map<String, dynamic> reqJson) Future<String?>
Post json to the RPC address
toString() String
A string representation of this object.
inherited

Operators

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