I was getting `Unresolved reference: last` when re...
# coroutines
s
I was getting
Unresolved reference: last
when referencing `
Copy code
import kotlinx.coroutines.flow.last
from a unit test. Any ideas?
Copy code
lateinit var list: MutableList<String>
stateFlow.toList(list)
assert(list.last() == "example")
this block works though ^
stateFlow.last()
wasn't working though 🤔