reduceValue method

  1. @override
List<T?>? reduceValue()
override

Gets the values of controls as an Iterable.

This method is for internal use only.

Implementation

@override
List<T?>? reduceValue() {
  return _controls
      .where((control) => control.enabled || disabled)
      .map((control) => control.value)
      .toList();
}