isLink method

Future<bool> isLink (String path)

Checks if type(path) returns io.FileSystemEntityType.LINK.

Implementation

Future<bool> isLink(String path) async =>
    await type(path) == io.FileSystemEntityType.link;