PoloClient class

PoloClient is used to handle Connected WebSocket

Properties

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

Methods

close() Future
Closes the Client
joinRoom(String room) → void
Joins a Room
leaveRoom(String room) → void
Leaves a Room
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onEvent<T>(String event, void callback(T data)) → void
Adds a Callback to an Event
send<T>(String event, T data) → void
Sends message to the Client from Server
toString() String
A string representation of this object.
inherited

Operators

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