findTargetBuildConfiguration static method
Implementation
static dynamic findTargetBuildConfiguration(dynamic element, String uuid) {
List<dynamic> results = [];
try {
for (var v in element.childrenList) {
if (v.uuid == uuid) {
results.add(v);
}
if (v.childrenList.isNotEmpty) {
results.addAll(findTargetBuildConfiguration(v, uuid));
}
}
} catch (e) {
// Handle the case where childrenList is not available
}
return results;
}