ChatConnection class
A live connection to one channel's chat, from connectChat.
Properties
-
done
→ Future<
void> -
Completes once close has been called. Nothing else ends a connection:
a terminal close from Kick (a refused token, a limit, a ban) is waited
out and followed by a reconnect as a new client (docs/KICK.md ยง6.1).
final
- 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(
) → void -
Disconnects for good. Nothing is called back after this, not even
onDrop. Safe to call more than once, and from inside a callback. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited