isValidOid function
Test if the given value is a valid OID.
Note: for performance reason, it does only the basic check.
ignoreLength
whether to checkvalue.length
is the same as oidLength.
Implementation
bool isValidOid(String value, {bool ignoreLength = false})
=> (ignoreLength || value.length == oidLength) && _reOid.hasMatch(value);