inline suspend fun <T> ERROR CLASS: Symbol not found for Flow<T>
.toList(): List<T>(source) Collects all emissions from a Flow into a list.
Useful for asserting on Flow values in tests.
Example:
val values = flow { emit(1); emit(2) }.toList()
assertEquals(listOf(1, 2), values)