updateHiddenField<T> method

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

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);
}