flatMapDeep function

List flatMapDeep(
  1. List list,
  2. dynamic iteratee
)

Implementation

List flatMapDeep(List list, dynamic iteratee) =>
    flattenDeep(list.map((element) => iteratee(element)).toList());