Passing platform type as a function argument


I’m currently having a problem using the google directions api
here is the screenshot of my code snippet to make my issue more clear.


I don’t know what place is, are you sure that it’s latLng property is one of those types LatLong or String? Can you show is in some way?

Which version is the exact version of Kotlin which you are using?