Channel class
Properties
- channelName ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isJoined → dynamic
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addCommandListener(
void callback(dynamic response)) → void -
addMessageListener(
void callback(dynamic response)) → void -
addUserStatusListener(
void callback(UserStatusResponse? response), {void onError(String error)?}) → Future< void> -
join(
) → Future< void> -
leave(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeAllListeners(
) → void -
removeCommandListeners(
) → void -
removeMessageListeners(
) → void -
removeUserStatusListeners(
) → void -
sendCommand(
String commandType, dynamic data) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited