dart / 2.17.0 / dart-io / link / target.html /

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.dart.dev/stable/2.17.0/dart-io/Link/target.html