dropDownField<T> method

DropDownFieldState<T> dropDownField<T>(
  1. String fieldName
)

Retrieves the state of the dropdown field for a specified fieldName.

This method retrieves the state of the dropdown field identified by the provided fieldName.

  • Parameter fieldName The name of the dropdown field to retrieve the state from.
  • Returns: The state of the dropdown field.
  • Throws: ArgumentError if the field doesn't exist.

Implementation

DropDownFieldState<T> dropDownField<T>(String fieldName) {
  return get<DropDownFieldState<T>, T>(fieldName);
}