flat method

List<V> flat()

Flatting a list that has other lists inside other lists inside other lists ... recursive

final multiList = ["Marcus", "Ana", "Emanuel",["PC", "Xbox", "Books"]];
multiList.flat();// ["Marcus", "Ana", "Emanuel", "PC", "Xbox", "Books"]

Implementation

List<V> flat() => fn.flat<V>(this);