asLink property

Link get asLink

Assume the current file system entity is a Link and return it as such. You would call this instead of entity when the file system entity does not yet exist.

Implementation

Link get asLink => Link(path);