description

# Link.fromUri constructor Null safety

Link.fromUri(

1. Uri uri

)

Creates a Link object.

If path is a relative path, it will be interpreted relative to the current working directory (see Directory.current), when used.

If path is an absolute path, it will be immune to changes to the current working directory.

## Implementation

    factory Link.fromUri(Uri uri) => new Link(uri.toFilePath());