SocketIOAdapter class
Constructors
Properties
- checkResponse ↔ bool Function(dynamic data)
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interceptors
↔ List<
SocketInterceptor> -
getter/setter pair
- options ↔ SocketIOOptions
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- socket → Socket
-
no setter
Methods
-
connect(
[Map< String, dynamic> ? auth]) → dynamic -
disconnect(
) → dynamic -
emit(
String event, [dynamic data]) → Future< SocketResponse> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
on(
String event, dynamic callback(dynamic)) → dynamic -
onAll(
EventCallback callbacks) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited