identifiersForAsset method
Returns all identifiers declared in a specific asset.
src is the ID of the asset to get identifiers for.
Implementation
Set<String> identifiersForAsset(String src) {
final Set<String> identifiers = <String>{};
for (final List<dynamic> entry in this.identifiers) {
if (entry[GraphIndex.identifierSrc] == src) {
identifiers.add(entry[GraphIndex.identifierName]);
}
}
return identifiers;
}