flatMapFlow

fun <T, R> Flow<T>.flatMapFlow(mapper: suspend (T) -> Flow<R>): Flow<R>

Flattens a Flow of T items into a Flow of individual items R.

Return

A Flow of individual items.