isLink function

bool isLink(
  1. String path
)

Implementation

bool isLink(String path) {
  final fromType = FileSystemEntity.typeSync(path, followLinks: false);
  return fromType == FileSystemEntityType.link;
}