updateDropDown<T> method
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);
}