title method

String? title(
  1. IRef contact
)
override

Implementation

String? title(IRef contact) {
//    if (maidenName == null && nickName == null && gender != null) {
  if (nickName == null && gender != null) {
    return gender.toString();
  }
//    if (maidenName != null) return "Maiden Name: $maidenName";
  if (nickName != null) return "Nickname: $nickName";
  return null;
}