MultiselectOptionBuilder class Null safety

Allows to create multi select option for MultiselectBuilder

Inheritance

Constructors

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

Properties

description String?
An additional description to option
read / write
emoji IEmoji?
Emoji displayed alongside with label
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
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.
read-only, inherited
value String
Internal value of option
final

Methods

build() RawApiMap
Returns built response for api
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited