static LDKind fromString(String value) { return LDKind.values.firstWhere((entry) => entry._value == value, orElse: () => LDKind.error); }