ArgChoiceBuilder class Null safety

A specified choice for a slash command argument.

Implemented types

Constructors

ArgChoiceBuilder(String name, dynamic value)
A Choice for the user to input in int & string args. You can only have an int or string option.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
name String
This options name.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value ↔ dynamic
This is the options value, must be int or string
read / write

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