shortText property

String get shortText

Implementation

String get shortText {
  switch (this) {
    case male:
      return 'M';
    case female:
      return 'F';
    case nonBinary:
      return 'NB';
    case preferNotToSay:
      return 'N/A';
    case other:
      return 'O';
  }
}