flatMap<U> method

  1. @override
FlatMap<T, U> flatMap<U>(
  1. Iterator<U> f(
    1. T
    )
)

Creates an iterator that works like map, but flattens nested structure.

Implementation

@override
@pragma("vm:prefer-inline")
FlatMap<T, U> flatMap<U>(Iterator<U> Function(T) f) => FlatMap<T, U>(this, f);