flatMapVirtual

inline fun <T, R> List<T>.flatMapVirtual(transform: (T) -> List<R>): List<R>

Creates a virtual List represents the lists get from receiver with transform. It assumes all transformed list are immutable. Modify them leads to undefined behavior.