subtitle method
Implementation
String subtitle(IRef contact) {
String subtitle = "";
if (startDate != null) {
subtitle += endDate == null ? "since " : "from ";
subtitle += "${startDate!.formatted()} ";
}
if (endDate != null) {
subtitle += "until ${endDate!.formatted()}";
}
return subtitle;
}