VoiceState class

Constructors

VoiceState({String? guildId, String? channelId, required String userId, required Member member, required String sessionId, required bool deaf, required bool mute, required bool selfDeaf, required bool selfMute, bool? selfStream, required bool selfVideo, required bool suppress})

Properties

channelId String?
final
deaf bool
final
guildId String?
final
hashCode int
The hash code for this object.
no setterinherited
member Member
final
mute bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfDeaf bool
final
selfMute bool
final
selfStream bool?
final
selfVideo bool
final
sessionId String
final
suppress bool
final
userId String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJson(Map<String, dynamic> json) VoiceState