go method

void go(
  1. String newPath
)

Navigates to a new route by updating the path signal.

All reactive listeners observing path will be notified of the change.

Implementation

void go(String newPath) {
  path.value = newPath;
}