InteractionOption class Null safety

The option given by the user when sending a command

Properties

args Iterable<InteractionOption>
Any args under this as you can have sub commands
read / write, final, late
choices Iterable<ArgChoiceBuilder>
Option choices
read / write, final, late
hashCode int
The hash code for this object. [...]
read-only, inherited
name String
Name of option
read / write, final, late
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type CommandOptionType
Type of interaction
read / write, final, late
value ↔ dynamic
The value given by the user
read / write, final, late

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