OptionItems<T> class
Model representing a selectable dropdown item.
Constructors
- OptionItems({T? model, required String displayTitle})
-
Creates an OptionItems with an optional
modeland a requireddisplayTitle.
Properties
- displayTitle → String
-
The text shown in the dropdown for this item.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- model → T?
-
The actual value (object) of the item.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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