isAGeneratedSource method
Returns whether an asset is a generated output.
id is the ID of the asset to check.
Implementation
bool isAGeneratedSource(String id) {
for (final MapEntry<String, Set<String>> entry in outputs.entries) {
if (entry.value.contains(id)) {
return true;
}
}
return false;
}