DirectoryEntry class

A directory entry, usually used within a FileCollection.

See file, files, dir, dirs, entities.

Constructors

DirectoryEntry({required String path, bool recurse = true, bool includeHidden = false, Set<String> exclusions = const {}, Set<String> fileExtensions = const {}})

Properties

exclusions Set<String>
final
fileExtensions Set<String>
final
hashCode int
The hash code for this object.
no setterinherited
includeHidden bool
final
path String
final
recurse bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

includes(String otherPath, {required bool isDir}) bool
includesExtension(String otherPath) bool
isWithin(String otherPath, {required bool isDir}) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited