SelectionOptions<T>.fromStream constructor

SelectionOptions<T>.fromStream(
  1. Stream<List<OptionGroup<T>>> optionGroupListStream
)

Creates an instance where the available options are the last data item from the provided Stream.

Be sure to dispose of this instance when done in order to dispose of the stream listener.

Implementation

factory SelectionOptions.fromStream(
        Stream<List<OptionGroup<T>>> optionGroupListStream) =>
    _StreamSelectionOptions<T>(optionGroupListStream);