JsonRpc class

Constructors

JsonRpc({required dynamic onMessage(Map<String, dynamic> params)})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

connect(String url) → void
disconnect() Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(String method, {Map<String, dynamic> params = const {}, bool hasResult = false}) Future?
toString() String
A string representation of this object.
inherited

Operators

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