typeName property

String? typeName

Retrieves the corresponding name

Implementation

String? get typeName {
  switch (this) {
    case ParameterType.alternateRepresentation:
      return 'ALTREP';
    case ParameterType.commonName:
      return 'CN';
    case ParameterType.calendarUserType:
      return 'CUTYPE';
    case ParameterType.delegateFrom:
      return 'DELEGATED-FROM';
    case ParameterType.delegateTo:
      return 'DELEGATED-TO';
    case ParameterType.directory:
      return 'DIR';
    case ParameterType.encoding:
      return 'ENCODING';
    case ParameterType.formatType:
      return 'FMTTYPE';
    case ParameterType.freeBusyTimeType:
      return 'FBTYPE';
    case ParameterType.language:
      return 'LANGUAGE';
    case ParameterType.member:
      return 'MEMBER';
    case ParameterType.participantStatus:
      return 'PARTSTAT';
    case ParameterType.range:
      return 'RANGE';
    case ParameterType.alarmTriggerRelationship:
      return 'RELATED';
    case ParameterType.relationshipType:
      return 'RELTYPE';
    case ParameterType.participantRole:
      return 'ROLE';
    case ParameterType.rsvp:
      return 'RSVP';
    case ParameterType.sentBy:
      return 'SENT-BY';
    case ParameterType.timezoneId:
      return 'TZID';
    case ParameterType.value:
      return 'VALUE';
    case ParameterType.xFilename:
      return 'X-FILENAME';
    case ParameterType.email:
      return 'EMAIL';
    case ParameterType.other:
      return null;
  }
}