fromCode static method
Decode the integer discriminant, returning unknown for an out-of-range value (matches the C enum's zero-default).
Implementation
static LazilyFfiMessageKind fromCode(int code) {
for (final v in LazilyFfiMessageKind.values) {
if (v.code == code) return v;
}
return LazilyFfiMessageKind.unknown;
}