isLink method
- 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;
Checks if type(path) returns io.FileSystemEntityType.LINK.
Future<bool> isLink(String path) async =>
await type(path, followLinks: false) == io.FileSystemEntityType.link;