operator []= method

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

Implementation

void operator []=(int index, int value) {
  if (value < 0 && value != Engine.stackMarker) {
    value = MathHelper.dartSignedIntTo16BitSigned(value);
  }

  stack[index] = value;
}