collectReferences method

  1. @override
Future<List<ModelReference>> collectReferences({
  1. String? appId,
})
override

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;
}