updateHiddenField<T> method
Updates a HiddenFieldState with a given value
.
fieldName
The name of the hidden field to update.value
The new value for the hidden field.
Implementation
void updateHiddenField<T>(String fieldName, T value) {
update<HiddenFieldState<T>, T>(fieldName, value);
}