MentionableSelectMenuBuilder class
A builder for mentionable select menus component.
Constructors
- MentionableSelectMenuBuilder(String customId)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ ComponentType?
-
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDisabled(
bool value) → void -
Sets the disabled state of the menu.
inherited
-
setMaxValues(
int value) → void -
Sets the maximum number of items that can be chosen; default 1, max 25.
inherited
-
setMinValues(
int value) → void -
Sets the minimum number of items that must be chosen; default 1, min 0, max 25.
inherited
-
setPlaceholder(
String value) → void -
Sets the placeholder text shown on the menu.
inherited
-
toJson(
) → Map< String, dynamic> -
Serialize this component to a JSON object.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited