VoiceState class
The state of a Player's voice session.
- Annotations
-
- @JsonSerializable(createToJson: true)
Constructors
- VoiceState({required String token, required String endpoint, required String sessionId})
- Create a new VoiceState.
-
VoiceState.fromJson(Map<
String, Object?> json) -
factory
Properties
- endpoint → String
-
The endpoint being used.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sessionId → String
-
The ID of the voice session.
final
- token → String
-
The voice token being used.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited