expand method

EventSubscriptionBuilder<T> expand(
  1. Iterable<T> convert(
    1. T element
    )
)

Transforms each element of this handler into a sequence of elements.

It extends the current builder where each element of this EventHandler is replaced by zero or more data events.

Implementation

EventSubscriptionBuilder<T> expand(
  Iterable<T> Function(T element) convert,
) {
  return _ExpandEventSubscriptionBuilder(parent: this, convert: convert);
}