createLink method
Synchronously create the link. See also Link.createSync.
If recursive
is false, the default, the file is created only if all
directories in the path exist. If recursive
is true, all non-existing
path components are created.
Implementation
Link createLink(FilePath target, {bool recursive = false}) {
var link = asLink;
link.createSync(target.path, recursive: recursive);
return link;
}