OptionGroupMapper<T> typedef
OptionGroupMapper<T> =
List<OptionGroup<T> > Function(Iterable<T> items)
An interface for functions that segment items
into option groups.
Implementation
typedef OptionGroupMapper<T> = List<OptionGroup<T>> Function(Iterable<T> items);