title method
Implementation
String title(IRef contact) {
String title = "";
if (this.endDate != null) {
title += "Worked ";
} else {
title += "Works ";
}
// if (this.isCoworker == true) {
// title += "with you ";
// }
// if (employer?.name != null) {
// title += "at ${employer.name} ";
// }
if (this.company?.name?.isNotNullOrBlank == true) {
title += "at ${company!.name} ";
}
if (position != null) {
title += "as $position";
}
return title;
}