getModifications method
Implementation
Map<String, Modification> getModifications(List<Campaign> campaigns) {
Map<String, Modification> result = new Map<String, Modification>();
for (var itemCampaign in campaigns) {
result.addAll(itemCampaign.getAllModification());
}
return result;
}