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