Future<bool> isLink(String path)

Checks if type(path, followLinks: false) returns FileSystemEntityType.LINK.

Source

static Future<bool> isLink(String path) => _getTypeAsync(path, false)
    .then((type) => (type == FileSystemEntityType.LINK._type));