asFlow

fun IntRange.asFlow(): Flow<Int> (source)

Creates a flow that produces values from the range.