Thanks for the tip. Seems fine for the class. But not the case for a function. Expected declaration can’t have parameters with default value. If I do something like:
expect fun get (
url: String,
params: Map<String, String>? = mapOf(“1” to “1"),
headers: Map<String, String>?
) : Map<String, *>