updateDropDown<T> method

void updateDropDown<T>(
  1. String fieldName,
  2. T value
)

Updates a DropDownFieldState with a given value.

  • fieldName The name of the dropdown field to update.
  • value The new value for the dropdown field.

Implementation

void updateDropDown<T>(String fieldName, T value) {
  update<DropDownFieldState<T>, T>(fieldName, value);
}