flatMap<B> method

  1. @override
ILazyList<B> flatMap<B>(
  1. covariant Function1<A, RIterableOnce<B>> f
)
override

Returns a new collection by applying f to each element and concatenating the results.

Implementation

@override
ILazyList<B> flatMap<B>(Function1<A, RIterableOnce<B>> f) =>
    knownIsEmpty ? empty() : _flatMapImpl(this, f);