fromCode static method

SymbolBinding? fromCode(
  1. int code
)

Implementation

static SymbolBinding? fromCode(int code) {
  for (final value in values) {
    if (value.code == code) {
      return value;
    }
  }
  return null;
}