isEmpty function

Future<bool> isEmpty(
  1. String pathToDirectory
)

Returns true if the passed pathToDirectory is an empty directory. For large directories this operation can be expensive.

Implementation

Future<bool> isEmpty(String pathToDirectory) async =>
    _Is().isEmpty(pathToDirectory);