isNotEmpty property

bool isNotEmpty

Returns true if this collection contains at least one 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 isNotEmpty => files.isNotEmpty || directories.isNotEmpty;