optionGroups property
The groups of available options.
Do not modify this list from outside of this class. Instead, create a SelectionOptions from a stream. This list may be replaced by the data provider, so consider this list reference to be ephemeral, with the SelectionOptions object's property as the source of truth.
Implementation
@override
List<OptionGroup<T>> get optionGroups => _options.optionGroups;
Implementation
@override
set optionGroups(List<OptionGroup<T>> groups) {
_options.optionGroups = groups;
}