updateCheckbox method
Updates a CheckboxFieldState with a given value.
fieldNameThe name of the checkbox field to update.valueThe new value for the checkbox field.
Implementation
void updateCheckbox(String fieldName, bool value) {
updateValue<CheckboxFieldState<bool>, bool>(fieldName, value);
}