typeName property

String? typeName

Implementation

String? get typeName {
  switch (this) {
    case Role.chair:
      return 'CHAIR';
    case Role.requiredParticipant:
      return 'REQ-PARTICIPANT';
    case Role.optionalParticipant:
      return 'OPT-PARTICIPANT';
    case Role.nonParticipant:
      return 'NON-PARTICIPANT';
    case Role.other:
      return null;
  }
}