operator []= method Null safety

void operator []=(
  1. int address,
  2. int value
)

Implementation

operator []=(int address, int value) {
  if (address < startAddress || address > endAddress) {
    throw RangeError.range(address, startAddress, endAddress, 'address');
  }
  data[address - startAddress] = value;
}