Link createLink(String path)

Returns a new Link object for the given path. When this override is installed, this function overrides the behavior of new Link() and new Link.fromUri().

Source

Link createLink(String path) => new _Link(path);