static T valueOf<T>(Iterable<T> values, String value) { return values.where((e) => describeEnum(e!) == value).first; }