ArgChoiceBuilder class

A specified choice for a slash command argument.

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.
no setterinherited
name String
This options name.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ dynamic
This is the options value, must be int or string
getter/setter pair

Methods

build() → RawApiMap
Returns built response for api
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