FileSet class

A class to handle defining, composing, and comparing groups of files.

Constructors

FileSet.fromDir(Directory dir, {String? pattern, bool recurse = false})
FileSet.fromFile(File file)

Properties

exists bool
no setter
files List<File>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lastModified DateTime
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
upToDate(FileSet other) bool
Returns whether this file set exists, and is not older then the given FileSet.

Operators

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