void navigateAbsolute(
String absoluteRoute,
[List<String> params = null]
)

Programmatically change current location (route) to any absolute path. Calling this method will change window.location.href accordingly.

navigateAbsolute("/amazing/stuff/somewhere/deep");

Source

/// Programmatically change current location (route) to any
/// absolute path.
/// Calling this method will change `window.location.href` accordingly.
///
///     navigateAbsolute("/amazing/stuff/somewhere/deep");
void navigateAbsolute(String absoluteRoute, [List<String> params = null]) {
  _navigatorRef._navigateTo(absoluteRoute, params);
}