isEmpty property

bool isEmpty

Returns true if this collection does not contain any file entity, false otherwise.

Notice that this method does not resolve the inclusions, it only checks if there is any potential inclusion.

Implementation

bool get isEmpty => files.isEmpty && directories.isEmpty;