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
-
close()
→ Future<void>
-
Closes the connection to the
PoloServer
-
listen()
→ Future<void>
-
Starts listening for messages from
PoloServer
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onConnect(void callback())
→ void
-
Sets onConnectCallback
-
onDisconnect(void callback())
→ void
-
Sets onDisconnectCallback
-
onEvent(String event, void callback(dynamic data))
→ void
-
Adds a Callback to an Event
-
send(String event, dynamic data)
→ void
-
Sends message to the Server from Client
-
toString()
→ String
-
A string representation of this object.
inherited