VoiceState constructor

VoiceState({
  1. required Snowflake serverId,
  2. required Snowflake? channelId,
  3. required Snowflake userId,
  4. required String? sessionId,
  5. required bool isDeaf,
  6. required bool isMute,
  7. required bool isSelfDeaf,
  8. required bool isSelfMute,
  9. required bool hasSelfVideo,
  10. required bool isSuppress,
  11. required DateTime? requestToSpeakTimestamp,
  12. required bool isDiscoverable,
})

Implementation

VoiceState({
  required this.serverId,
  required this.channelId,
  required this.userId,
  required this.sessionId,
  required this.isDeaf,
  required this.isMute,
  required this.isSelfDeaf,
  required this.isSelfMute,
  required this.hasSelfVideo,
  required this.isSuppress,
  required this.requestToSpeakTimestamp,
  required this.isDiscoverable,
});