collect

@CheckReturnValue
fun <T> collect(flow: ERROR CLASS: Symbol not found for Flow<T>): List<T>

Collects every element of flow, blocking until it completes.