User class

Mixed in types
Implementers

Properties

channel Channel
no setter
comment String?
no setter
commentHash Uint8List?
no setter
deaf bool?
no setter
hash String?
no setter
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
no setterinherited
listeners Iterable<UserListener>
no setterinherited
mute bool?
no setter
name String?
no setter
prioritySpeaker bool?
no setter
recording bool?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfDeaf bool?
no setter
selfMute bool?
no setter
session int
final
suppress bool?
no setter
texture Uint8List?
no setter
textureHash Uint8List?
no setter
userId int?
no setter

Methods

add(UserListener listener) → void
inherited
addListeingChannels({required List<Channel> channels, List<String>? temporaryAccessTokens}) → void
banUser({String? reason}) → void
jsonMap({bool serializeChannel = false}) Map<String, Object>
kickUser({String? reason}) → void
moveToChannel({required Channel channel, List<String>? temporaryAccessTokens}) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAsVoiceTarget({required int id}) → void
registerUser() → void
remove(UserListener listener) → void
inherited
removeListeingChannels({required List<Channel> channels, List<String>? temporaryAccessTokens}) → void
requestUserComment() → void
requestUserStats({bool statsOnly = false}) → void
requestUserTexture() → void
sendMessageToUser({required String message}) → void
setDeaf({required bool deaf}) → void
setMute({required bool mute}) → void
setPrioritySpeaker({required bool prioritySpeaker}) → void
setSuppress({required bool suppress}) → void
toString({bool tabIndent = true}) String
A string representation of this object.
inherited

Operators

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