WebSocketManager class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- heartbeatTimer ↔ Timer?
-
getter/setter pair
-
messageQueue
↔ List<
String> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- webSocket ↔ WebSocket?
-
getter/setter pair
- wsLink ↔ String
-
getter/setter pair
-
wsUrl
↔ List<
String> -
getter/setter pair
Methods
-
connect(
) → void -
fetchJsonFromUrl(
String url) → Future< List< String> > -
generateRequestId(
) → String -
init(
) → Future< void> -
isAlive(
) → void -
load(
Map< String, dynamic> sendData) → Future -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onMessageCallBack(
dynamic message) → void -
send(
Map< String, dynamic> data) → void -
stopAlive(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited