Future navigate(List linkParams)

Navigate based on the provided Route Link DSL. It's preferred to navigate with this method over navigateByUrl.

Usage

This method takes an array representing the Route Link DSL:

['./MyCmp', {param: 3}]

See the RouterLink directive for more.

Source

Future<dynamic> navigate(List<dynamic> linkParams) {
  var instruction = this.generate(linkParams);
  return this.navigateByInstruction(instruction, false);
}