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