radioButtonsOf<T> method

List<RadioButtonFieldState<T>> radioButtonsOf<T>(
  1. String fieldName
)

Retrieves a list of RadioButtonFieldState for a specified fieldName.

This method simplifies fetching radio button states for the given fieldName.

Implementation

List<RadioButtonFieldState<T>> radioButtonsOf<T>(String fieldName) {
  return radioGroup<T>(fieldName).radioButtons;
}