ApplicationCommandOptionChoice class
Application Command Option Choice structure
If you specify choices for an option, they are the only valid values for a user to pick
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
- ApplicationCommandOptionChoice({required String name, required dynamic value})
- Create an ApplicationCommandOptionChoice
-
ApplicationCommandOptionChoice.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - To json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited