createLink method Null safety

Link createLink(
  1. 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().

Implementation

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