getCategory method
Implementation
String? getCategory({List<Campaign>? campaigns}) {
if (linkedCampaignId != null && campaigns != null) {
for (int i = 0; i < campaigns.length; i++) {
if (campaigns[i].id == linkedCampaignId) return campaigns[i].shortName;
}
}
return "General";
}