fromValue static method
- String? oid
Implementation
static ASN1DistinguishedNames? fromValue(String? oid) {
if (oid != null) {
try {
return ASN1DistinguishedNames.values.firstWhere(
(element) => element.oid() == oid,
);
} catch (e) {
return null;
}
}
return null;
}