InteractionOption class
The value of a command option passed in an ApplicationCommandInteraction.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isFocused → bool?
-
Whether the user is focusing this option.
final
- name → String
-
The name of the option.
final
-
options
→ List<
InteractionOption> ? -
A list of sub-options if this option is a subcommand or subcommand group.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → CommandOptionType
-
The type of the option.
final
- value → dynamic
-
The value of the option provided by the user.
final
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
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