IEnum<T> class
abstract
Abstract interface for enums in library
- Implementers
- ActivityType
- AuditLogEntryType
- ButtonStyle
- ChangeKeyType
- ChannelType
- ComponentType
- DisconnectEventReason
- DiscordColor
- GuildEventPrivacyLevel
- GuildEventStatus
- GuildEventType
- GuildFeature
- GuildNsfwLevel
- MessageDecoration
- MessageType
- NitroType
- PremiumTier
- StageChannelInstancePrivacyLevel
- SystemChannelFlags
- ThreadArchiveTime
- TimeStampStyle
- UserStatus
- VoiceActivityType
- WebhookType
Constructors
- IEnum(T _value)
-
Creates enum with given value
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → T
-
Returns value of enum
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override