DropValue class

Represents a single dropdown value with a label and corresponding value.

Constructors

DropValue(String label, dynamic value, {dynamic index})
Constructs a DropValue with the specified label and value.

Properties

hashCode int
The hash code for this object.
no setterinherited
index → dynamic
the value associated with the option index
final
label String
The label associated with the dropdown value.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value → dynamic
The value associated with the dropdown label.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Converts the DropValue to a map with 'label' and 'value' keys.
toString() String
A string representation of this object.
inherited

Operators

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