Link class
A reference to a symbolic link on the file system.
- Implemented types
 - Implementers
 
Constructors
- Link()
 
Properties
- absolute → Link
 - 
          Returns a Link instance whose path is the absolute path to this. [...]
          read-only, override
 - basename → String
 - 
          Gets the part of this entity's path after the last separator. [...]
          read-only, inherited
 - dirname → String
 - 
          Gets the part of this entity's path before the last separator. [...]
          read-only, inherited
 - fileSystem → FileSystem
 - 
          Returns the file system responsible for this entity.
          read-only, inherited
 - hashCode → int
 - 
          The hash code for this object. [...]
          read-only, inherited
 - isAbsolute → bool
 - 
          Returns a bool indicating whether this object's path is absolute. [...]
          read-only, inherited
 - parent → Directory
 - 
          The directory containing this.
          read-only, inherited
 - path → String
 - 
          
          read-only, inherited
 - runtimeType → Type
 - 
          A representation of the runtime type of the object.
          read-only, inherited
 - uri → Uri
 - 
          Returns a Uri representing the file system entity's location. [...]
          read-only, inherited
 
Methods
- 
          create(
String target, { bool recursive: false }) → Future< Link>  - 
          Creates a symbolic link. Returns a 
Future<Link>that completes with the link when it has been created. If the link exists, the future will complete with an error. [...]override - 
          rename(
String newPath) → Future< Link>  - 
          Renames this link. Returns a 
Future<Link>that completes with a Link instance for the renamed link. [...]override - 
          renameSync(
String newPath) → Link  - 
          Synchronously renames this link. Returns a Link
instance for the renamed link. [...]
          override
 - 
          update(
String target) → Future< Link>  - 
          Updates the link. Returns a 
Future<Link>that completes with the link when it has been updated. Calling update on a non-existing link will complete its returned future with an exception. [...]override - 
          createSync(
String target, { bool recursive: false }) → void  - 
          Synchronously create the link. Calling createSync on an existing link
will throw an exception. [...]
          inherited
 - 
          delete(
{bool recursive: false }) → Future< FileSystemEntity>  - 
          Deletes this FileSystemEntity. [...]
          inherited
 - 
          deleteSync(
{bool recursive: false }) → void  - 
          Synchronously deletes this FileSystemEntity. [...]
          inherited
 - 
          exists(
) → Future< bool>  - 
          Checks whether the file system entity with this path exists. Returns
a 
Future<bool>that completes with the result. [...]inherited - 
          existsSync(
) → bool  - 
          Synchronously checks whether the file system entity with this path
exists. [...]
          inherited
 - 
          noSuchMethod(
Invocation invocation) → dynamic  - 
          Invoked when a non-existent method or property is accessed. [...]
          inherited
 - 
          resolveSymbolicLinks(
) → Future< String>  - 
          Resolves the path of a file system object relative to the
current working directory. [...]
          inherited
 - 
          resolveSymbolicLinksSync(
) → String  - 
          Resolves the path of a file system object relative to the
current working directory. [...]
          inherited
 - 
          stat(
) → Future< FileStat>  - 
          Calls the operating system's stat() function on the path of this
FileSystemEntity. [...]
          inherited
 - 
          statSync(
) → FileStat  - 
          Synchronously calls the operating system's stat() function on the
path of this FileSystemEntity. [...]
          inherited
 - 
          target(
) → Future< String>  - 
          Gets the target of the link. Returns a future that completes with
the path to the target. [...]
          inherited
 - 
          targetSync(
) → String  - 
          Synchronously gets the target of the link. Returns the path to the target. [...]
          inherited
 - 
          toString(
) → String  - 
          Returns a string representation of this object.
          inherited
 - 
          updateSync(
String target) → void  - 
          Synchronously updates the link. Calling updateSync on a non-existing link
will throw an exception. [...]
          inherited
 - 
          watch(
{int events: FileSystemEvent.all, bool recursive: false }) → Stream< FileSystemEvent>  - 
          Start watching the FileSystemEntity for changes. [...]
          inherited
 
Operators
- 
          operator ==(
dynamic other) → bool  - 
          The equality operator. [...]
          inherited