updateAsyncDropDown<T> method

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

Updates a AsyncDropDownFieldState with a given value.

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

Implementation

void updateAsyncDropDown<T>(String fieldName, T value) {
  update<AsyncDropDownFieldState<T>, T>(fieldName, value);
}