flatMapDepth function

List flatMapDepth(
  1. List list,
  2. dynamic iteratee, {
  3. int depth = 1,
})

Implementation

List flatMapDepth(List list, dynamic iteratee, {int depth = 1}) =>
    flattenDepth(list.map((element) => iteratee(element)).toList(),
        depth: depth);