Using Bundle in Kotlin

I have a project to use kotlin multiplatform to use for our business logic so I was converting our java code to kotlin. But I cannot call Bundle anymore and i cannot import android.os.bundle too. Any alternative for Bundle that I can use in Kotlin Multiplatform?


public interface RequestCallback {
    void receivedCallbackFromRequest(BaseRequest request, Bundle result)

converted to Kotlin

interface RequestCallback {
    fun receivedCallbackFromRequest(request: BaseRequest , result: Bundle)

You could probably just use a normal Map<String, Any> for simplicity’s sake.