[ ]
Programmatically change current location (route)
so that the specified sibling of this element is visible.
Calling this method will change window.location.href
accordingly.
navigateToSibling("my-brother");
Source
/// Programmatically change current location (route)
/// so that the specified sibling of this element is visible.
/// Calling this method will change `window.location.href` accordingly.
///
/// navigateToSibling("my-brother");
void navigateToSibling(String route, [List<String> params = null]) {
navigateAbsolute(absoluteParentRoute + "/" + route, params);
}