fromString static method
Implementation
static IcsStatus fromString(String key) {
final effectiveKey = key.toUpperCase();
return IcsStatus.values.firstWhere(
(e) => e.key == effectiveKey,
orElse: () {
throw ICalendarStatusParseException('Unknown IcsStatus: $key');
},
);
}