MultiselectOptionBuilder class

Allows to create multi select options for MultiselectBuilder.

Constructors

MultiselectOptionBuilder(String label, String value, [bool isDefault = false])
Creates instance of MultiselectOptionBuilder

Properties

description String?
An additional description to option
getter/setter pair
emoji ↔ IEmoji?
Emoji displayed alongside with label
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isDefault bool
Setting to true will render this option as pre-selected
final
label String
User-facing name of the option
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
Internal value of option
final

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