switchMap

fun <T, R> Flow<T>.switchMap(
    transform: suspend (value: T) -> Flow<R>
): Flow<R>
(source)

Deprecated: DeprecationLevel.ERROR