SocketClient class abstract interface

Implementers

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

connect(SocketConnectParams connectionParams) → void
Connect on socket server with recived socket connect params
disconnect() FutureOr<void>
Disconnect from server socket
emit(String event, [dynamic data]) → void
Emit a new data on event
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
offEvent(String event, [EventHandler handlerCallback]) → void
Stop listening to an event
onEvent(String event, EventHandler handlerCallback) → void
Listening to an event
toString() String
A string representation of this object.
inherited

Operators

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