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