/// Notification escalation ladder. Disappointment outperforms anger.
enum EscalationTier { Reminder, Nudge, Nag, Disappointed, Cold }

EscalationTier getEscalationTier(String? name) {
  for (EscalationTier value in EscalationTier.values) {
    if (value.name == name) {
      return value;
    }
  }
  return EscalationTier.Reminder;
}
