collectReferences method
Implementation
@override
Future<List<ModelReference>> collectReferences({String? appId}) async {
List<ModelReference> referencesCollector = [];
if (icon != null) {
referencesCollector.addAll(await icon!.collectReferences(appId: appId));
}
if (action != null) {
referencesCollector.addAll(await action!.collectReferences(appId: appId));
}
return referencesCollector;
}