Flattens an Iterable of Iterables to a flattened Iterable.
For example:
final input = [[1, 2], [3, 4]]; print(input.flatten()); // [1, 2, 3, 4]
Iterable<E> flatten() => expand((values) => values);