listDirectoriesSync property

Iterable<Directory> get listDirectoriesSync

Returns an iterable of directories from the list of all file system entities.

This getter filters the list of all file system entities and returns only those that are of type Directory.

Example usage:

Iterable<Directory> directories = someObject.listDirectoriesSync;

Implementation

Iterable<Directory> get listDirectoriesSync => listAllSync.whereType<Directory>();