typeName property
String?
typeName
Retrieves the type name that corresponds to this enum value
Implementation
String? get typeName {
switch (this) {
case CalendarUserType.individual:
return 'INDIVIDUAL';
case CalendarUserType.group:
return 'GROUP';
case CalendarUserType.resource:
return 'RESOURCE';
case CalendarUserType.room:
return 'ROOM';
case CalendarUserType.unknown:
return 'UNKNOWN';
case CalendarUserType.other:
return null;
}
}