String path
) Checks if type(path, followLinks: false) returns FileSystemEntityType.LINK.
Source
/**
* Checks if type(path, followLinks: false) returns
* FileSystemEntityType.LINK.
*/
static Future<bool> isLink(String path) => _getTypeAsync(path, false)
.then((type) => (type == FileSystemEntityType.LINK._type));