opcodeAt method Null safety

int opcodeAt(
  1. int line
)

Implementation

int opcodeAt(final int line) {
  if (line == 0) {
    return (_rtn.arg as ArgDone).opcode;
  }
  assert(line > 0 && line <= _lines);
  _setCachedAddress(line);
  final b = _byteAt(_cachedAddress);
  if (b < _extendedOpcode) {
    return b;
  } else {
    return (((b - _extendedOpcode) + 1) << 8) | _byteAt(_cachedAddress + 2);
  }
}