getDirsUnderPath function
Implementation
Future<List<FileSystemEntity>> getDirsUnderPath(String projectPath) async {
var files = await dirContents(Directory(projectPath), recursive: true);
files = files
.where((file) => FileSystemEntity.isDirectorySync(file.path))
.toList();
return files;
}