InteractionOption class Null safety

The option given by the user when sending a command

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
isFocused bool
True if options is focused
late, final
name String
Name of option
late, final
options Iterable<InteractionOption>
Any args under this as you can have sub commands
late, final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type CommandOptionType
Type of interaction
late, final
value ↔ dynamic
The value given by the user
late, 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