update method - Link class - dart:io library (original) (raw)
update abstract method
- String target )
Updates an existing link.
Deletes the existing link at path and creates a new link to target, using create.
Returns a future which completes with this Link if successful, and with a PathNotFoundException if there is no existing link at path, or with any FileSystemException that delete or create can throw.
Implementation
Future<Link> update(String target);