onUpdate method
Callback when control is asked to update its value.
Allows controls to calculate their value. For example control groups to calculate its value based on their children.
Implementation
@override
void onUpdate() {
_value = [];
for (var control in controls) {
if (control.enabled || disabled) {
_value!.add(control.value);
}
}
}