listSync method

List<FileSystemEntity> listSync({
  1. String? root,
  2. bool followLinks = true,
})

Convenience method for Glob.listFileSystemSync which uses the local file system.

Implementation

List<FileSystemEntity> listSync({String? root, bool followLinks = true}) =>
    listFileSystemSync(const LocalFileSystem(),
        root: root, followLinks: followLinks);