listSync method
Implementation
@override
List<String> listSync(String path, {bool recursive = false}) {
final dir = Directory(resolve(path));
if (!dir.existsSync()) return [];
return dir
.listSync(recursive: recursive)
.map((entity) => entity.path)
.toList();
}