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