fromCode static method

SymbolType? fromCode(
  1. int code
)

Implementation

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