fromNativeName static method
Returns null for missing or unsupported native error codes.
Implementation
static GrovsErrorCode? fromNativeName(String? name) {
for (final code in values) {
if (code.nativeName == name) return code;
}
return null;
}