VoiceParticipant class
One participant's state within a `Room`.
Every toggle is `OnOff` rather than bool: this is the same distinction clippy's own
struct_excessive_bools lint asks for (six independent flags read equally well as a state
machine's cases), and reusing OnOff rather than inventing six near-identical two-variant
enums keeps it to one type.
Constructors
Properties
- deaf → OnOff
-
Not receiving room audio.
final
- hand → OnOff
-
Hand raised.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mic → OnOff
-
Microphone on.
final
- nick → String
-
Their nick as the server spells it, since the map that holds them is keyed by a fold that
throws that spelling away.
final
- role → VoiceRole
-
Whether they may publish, decided by the room kind and, in a
$room, whether the server named them a streamer.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screen → OnOff
-
Screen share active.
final
- speaking → OnOff
-
The voice-activity flag the last
presencereported.final - video → OnOff
-
Camera on.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited