RoomOptions class
Configuration options for managing a room's participant list, edit, and delete actions.
Example Usage:
final roomOptions = RoomOptions(
rooms: rooms,
handleEditRoom: (index) => editRoom(index),
handleDeleteRoom: (index) => deleteRoom(index),
handleRemoveParticipant: (index, participant) => removeParticipant(index, participant),
);
Constructors
-
RoomOptions({required List<
List< rooms, required void handleEditRoom(int roomIndex), required void handleDeleteRoom(int roomIndex), required void handleRemoveParticipant(int roomIndex, BreakoutParticipant participant)})BreakoutParticipant> >
Properties
- handleDeleteRoom → void Function(int roomIndex)
-
Callback to handle deleting a room.
final
- handleEditRoom → void Function(int roomIndex)
-
Callback to handle editing a room.
final
- handleRemoveParticipant → void Function(int roomIndex, BreakoutParticipant participant)
-
Callback to handle removing a participant from a room.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
rooms
→ List<
List< BreakoutParticipant> > -
List of breakout participants in the room.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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