FormOption class

Represents an option in a form field.

Constructors

FormOption({required String label, required String value})
Creates a new instance of FormOption.

Properties

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

Methods

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

Operators

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