SelectedListItem class

This is a model class used to represent an item in a selectable list

Constructors

SelectedListItem.new({required String name, String? value, bool isSelected = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
isSelected bool
Indicates whether the item is selected Default Value: false
getter/setter pair
name String
The name or label of the item
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String?
An optional value associated with the item
getter/setter pair

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