JsonRpcProvider class

Implemented types
Mixed in types

Constructors

JsonRpcProvider(IJsonRpcConnection connection)

Properties

connection IJsonRpcConnection
no setteroverride
events EventEmitter<String>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
override
connect({dynamic connection}) Future<void>
override
disconnect() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
off(Listener<String>? listener) → void
inherited
on(String event, EventCallback callback) Listener<String>
inherited
once(String event, EventCallback callback) Listener<String>
inherited
onPayload(dynamic payload) → void
override
open({dynamic connection}) Future<void>
override
removeListener(String eventName, EventCallback callback) → void
inherited
request<Params>({required RequestArguments<Params> request, dynamic context}) Future
override
requestStrict<Params>({required JsonRpcRequest<Params> request, dynamic context}) Future
override
setConnection(IJsonRpcConnection connection) IJsonRpcConnection
override
toString() String
A string representation of this object.
inherited

Operators

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