W3cubDocs

/Dart 2

target method

Future<String> target ()

Gets the target of the link. Returns a future that completes with the path to the target.

If the returned target is a relative path, it is relative to the directory containing the link.

If the link does not exist, or is not a link, the future completes with a FileSystemException.

Implementation

Future<String> target();

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/2.0.0/dart-io/Link/target.html