isLinkSync method Null safety

bool isLinkSync(
  1. String path
)

Synchronously checks if type(path) returns io.FileSystemEntityType.LINK.

Implementation

bool isLinkSync(String path) =>
    typeSync(path) == io.FileSystemEntityType.link;