checkboxesOf<T> method

List<CheckboxFieldState<T>> checkboxesOf<T>(
  1. String fieldName
)

Retrieves a list of CheckboxFieldState for a specified fieldName.

This method simplifies fetching checkbox states for the given fieldName.

Implementation

List<CheckboxFieldState<T>> checkboxesOf<T>(String fieldName) {
  return checkboxGroup<T>(fieldName).checkboxes;
}