toCollection

suspend fun <T, C : MutableCollection<in T>> Flow<T>.toCollection(
    destination: C
): C
(source)

Collects given flow into a destination