WsConnection class
- Implemented types
- Mixed-in types
Constructors
- WsConnection(String url)
Properties
- connected → bool
-
no setteroverride
- connecting → bool
-
no setteroverride
-
events
→ EventEmitter<
String> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- registering ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socket ↔ WebSocketChannel?
-
getter/setter pair
- url ↔ String
-
getter/setter pair
Methods
-
close(
) → 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
-
open(
{String? url}) → Future< void> -
override
-
removeListener(
String eventName, EventCallback callback) → void -
inherited
-
send(
{required JsonRpcPayload payload, dynamic context}) → Future< void> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited