fromValue static method
Implementation
static OID? fromValue(String? value) {
if (value != null) {
try {
return OID.values.firstWhere((element) => element.toValue() == value);
} catch (e) {
return null;
}
}
return null;
}