isLink method

Future<bool> isLink(
  1. String path
)

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

Implementation

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