OpCode enum Null safety

Inheritance

Constructors

OpCode(int value)
const

Values

dispatch → const OpCode
OpCode(0)
heartbeat → const OpCode
OpCode(1)
identify → const OpCode
OpCode(2)
statusUpdate → const OpCode
OpCode(3)
voiceStateUpdate → const OpCode
OpCode(4)
voiceGuildPing → const OpCode
OpCode(5)
resume → const OpCode
OpCode(6)
reconnect → const OpCode
OpCode(7)
requestGuildMember → const OpCode
OpCode(8)
invalidSession → const OpCode
OpCode(9)
hello → const OpCode
OpCode(10)
heartbeatAck → const OpCode
OpCode(11)
guildSync → const OpCode
OpCode(12)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<OpCode>
A constant List of the values in this enum, in order of their declaration.
[dispatch, heartbeat, identify, statusUpdate, voiceStateUpdate, voiceGuildPing, resume, reconnect, requestGuildMember, invalidSession, hello, heartbeatAck, guildSync]