UserLeaveReason enum
User leave reason
用户离开原因。
Values
- Normal → const UserLeaveReason
-
The user leaves normally
用户正常离开。
- Expelled → const UserLeaveReason
-
The user is expelled
用户被驱逐。
- Disconnected → const UserLeaveReason
-
The user is disconnected
用户掉线。
- ChannelEnd → const UserLeaveReason
-
Channel is end
频道结束
- DuplicateUserID → const UserLeaveReason
-
The user ID is duplicate
用户 ID 重复
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
UserLeaveReason> - A constant List of the values in this enum, in order of their declaration.