byId static method

ASTBinarySection? byId(
  1. int id
)

The section with the given id, or null when this build does not know it (in which case the reader skips it).

Implementation

static ASTBinarySection? byId(int id) {
  for (var s in values) {
    if (s.id == id) return s;
  }
  return null;
}