updateRadioButton<T> method

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

Updates a RadioButtonFieldState with a given value.

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

Implementation

void updateRadioButton<T>(String fieldName, T value) {
  update<RadioButtonFieldState<T>, T>(fieldName, value);
}