replacePath method

void replacePath(
  1. String value
)

Changes path without creating a new entry stack

Implementation

void replacePath(String value) {
  history.removeLast();
  path = value;
}