skip property
Decides which entities to leave out; return true to omit one.
Called once for every listed entity that passes includeHidden, with
the object that becomes the entry's data: a Directory, a File, or
a Link (see followLinks). An omitted directory is never read. Never
called for the directory being read. null (the default) keeps
everything.
It runs synchronously while a directory is listed. An exception it throws makes loadTree or loadChildren complete with that exception.
Implementation
final bool Function(FileSystemEntity entity)? skip;