replace

abstract fun replace(to: To, state: Any? = definedExternally, opts: NavigateOptions = definedExternally)(source)