String target
) Synchronously updates the link. Calling updateSync on a non-existing link will throw an exception.
On the Windows platform, this will only work with directories, and the target directory must exist.
Source
/**
* Synchronously updates the link. Calling [updateSync] on a non-existing link
* will throw an exception.
*
* On the Windows platform, this will only work with directories, and the
* target directory must exist.
*/
void updateSync(String target);