go method

void go (String path, [ String query = '' ])

Changes the browsers URL to the normalized version of the given URL, and pushes a new item onto the platform's history.

Implementation

void go(String path, [String query = '']) {
  locationStrategy.pushState(null, '', path, query);
}