replace

abstract var replace: Boolean?(source)

replace is a boolean that determines whether the navigation should replace the current history entry or push a new one.

default - false

API Docs