collectReferences method
Implementation
@override
Future<List<ModelReference>> collectReferences({String? appId}) async {
List<ModelReference> referencesCollector = [];
if (app != null) {
referencesCollector
.add(ModelReference(AppModel.packageName, AppModel.id, app!));
}
if (app != null) {
referencesCollector.addAll(await app!.collectReferences(appId: appId));
}
return referencesCollector;
}