includedEntities method
All included entities in this collection.
Does not resolve files and directories, which mean they may not exist.
Implementation
Iterable<FileSystemEntity> includedEntities() => files
.map((f) => File(f))
.cast<FileSystemEntity>()
.followedBy(directories.map((e) => Directory(e.path)));