ChoiceOption class final
- Implemented types
Constructors
-
ChoiceOption.double({required String name, required String description, required List<
Choice< choices, bool required = false})double> > -
factory
-
ChoiceOption.integer({required String name, required String description, required List<
Choice< choices, bool required = false})int> > -
factory
-
ChoiceOption.string({required String name, required String description, required List<
Choice< choices, bool required = false})String> > -
factory
Properties
-
channelTypes
→ List<
ChannelType> ? -
final
-
choices
→ List<
Choice> -
final
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isRequired → bool
-
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → CommandOptionType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited