VoiceState class Null safety
Used to represent a user"s voice connection status. If channel is null, it means that user left channel.
Properties
-
channel
↔ Cacheable<
Snowflake, IChannel> ? -
Channel id user is connected
read / write, final, late
- deaf ↔ bool
-
Whether this user is muted by the server
read / write, final, late
-
guild
↔ Cacheable<
Snowflake, Guild> ? -
Guild this voice state update is
read / write, final, late
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- selfDeaf ↔ bool
-
Whether this user is locally deafened
read / write, final, late
- selfMute ↔ bool
-
Whether this user is locally muted
read / write, final, late
- selfStream ↔ bool
-
Whether this user is streaming using "Go Live"
read / write, final, late
- selfVideo ↔ bool
-
Whether this user's camera is enabled
read / write, final, late
- sessionId ↔ String
-
Session id for this voice state
read / write, final, late
- suppress ↔ bool
-
Whether this user is muted by the current user
read / write, final, late
-
user
↔ Cacheable<
Snowflake, User> -
User this voice state is for
read / write, final, late
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited