SocketEmitter class
Constructors
- SocketEmitter({String? sender, String? roomId})
Properties
Methods
-
emit(
String event, dynamic message, {List< String> exclude = const <String>[]}) → void - set message to everyone in the room
-
emitExceptSender(
String event, dynamic message) → void - set message except the sender
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
room(
dynamic id) → SocketEmitter - set room to sent message
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited