menu
webthree package
documentation
json_rpc.dart
JsonRPC class
JsonRPC class
dark_mode
light_mode
JsonRPC
class
Inheritance
Object
RpcService
JsonRPC
Constructors
JsonRPC
(
String
url
,
Client
client
)
Properties
client
→ Client
final
hashCode
→
int
The hash code for this object.
no setter
inherited
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
url
→
String
final
Methods
call
(
String
function
, [
List
?
params
])
→
Future
<
RPCResponse
>
Performs an RPC request, asking the server to execute the function with the given name and the associated parameters, which need to be encodable with the
json
class of dart:convert.
override
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
webthree package
documentation
json_rpc
JsonRPC class
json_rpc library