radioGroup<T> method
Retrieves the state of the radio group field for a specified fieldName
.
This method retrieves the state of the radio group field identified by the provided fieldName
.
- Parameter
fieldName
The name of the radio group field to retrieve the state from. - Returns: The state of the radio group field.
- Throws: ArgumentError if the field doesn't exist.
Implementation
RadioGroupFieldState<T> radioGroup<T>(String fieldName) {
return get<RadioGroupFieldState<T>, T>(fieldName);
}