updateCheckboxGroup<T> method
Updates a CheckboxGroupFieldState with a given value
.
fieldName
The name of the checkbox group field to update.value
The new value for the checkbox group field. throws ArgumentError if the generic type T is not specified.
Implementation
void updateCheckboxGroup<T>(String fieldName, Set<T> value) {
update<CheckboxGroupFieldState<T>, Set<T>>(fieldName, value);
}