map

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

Returns a flow containing the results of applying the given transform function to each value of the original flow.