WFDropdownItem class Null safety

Constructors

WFDropdownItem({String id = "", String value = "", dynamic data})

Properties

data ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
selected bool
read / write
value String
read / write

Methods

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

Operators

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

Static Methods

cloneList(List<WFDropdownItem> list) List<WFDropdownItem>
selectedItemById(List<WFDropdownItem> list, String id) WFDropdownItem?
selectedItemByValue(List<WFDropdownItem> list, String value) WFDropdownItem?