WSelectOption<T> class

Constructors

WSelectOption(String label, T value, {bool compareTo(String)})

Properties

compareTo bool Function(String)
callback that gets called to check equality when the input gets changed. if it is not supplied, it will compare against the label instead.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
label String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value → T
make sure the value is unique
final

Methods

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