Unresolved reference: asList()

Hello,

I am getting “Unresolved reference: asList()”
In chapter 19, pg. 376 of Abdroid Programming 4rth ed.

Code:


return soundNames.asList()

asList() is part of the Kotlin stdlib
So I’m not sure why it can’t be referenced.