concatWithMultipleList method
Returns a list that concatenates this iterable with iterables.
If iterables is empty, the result contains only this iterable.
Implementation
List<E> concatWithMultipleList(List<Iterable<E>> iterables) {
if (iterables.isEmpty) return toList();
final list = iterables.toList(growable: false).expand((i) => i);
if (isEmpty) return list.toList();
return <E>[...this, ...list];
}