typeName property
String?
typeName
Implementation
String? get typeName {
switch (this) {
case ParticipantStatus.needsAction:
return 'NEEDS-ACTION';
case ParticipantStatus.accepted:
return 'ACCEPTED';
case ParticipantStatus.declined:
return 'DECLINED';
case ParticipantStatus.tentative:
return 'TENTATIVE';
case ParticipantStatus.delegated:
return 'DELEGATED';
case ParticipantStatus.inProcess:
return 'IN-PROCESS';
case ParticipantStatus.completed:
return 'COMPLETED';
case ParticipantStatus.partial:
return 'PARTIAL';
case ParticipantStatus.other:
return null;
}
}