flatten method
Flattens the list of lists to a single flat list of items
Implementation
List<T> flatten() {
final newList = <T>[];
forEach(newList.addAll);
return newList;
}
Flattens the list of lists to a single flat list of items
List<T> flatten() {
final newList = <T>[];
forEach(newList.addAll);
return newList;
}