collectReferences method
Implementation
@override
Future<List<ModelReference>> collectReferences({String? appId}) async {
List<ModelReference> referencesCollector = [];
if (images != null) {
for (var item in images!) {
referencesCollector.addAll(await item.collectReferences(appId: appId));
}
}
if (background != null) {
referencesCollector
.addAll(await background!.collectReferences(appId: appId));
}
if (conditions != null) {
referencesCollector
.addAll(await conditions!.collectReferences(appId: appId));
}
return referencesCollector;
}