setElt method

void setElt(
  1. num i,
  2. T val
)

Set the element at the given index to a given value. @param {number} i int The index of the element to set. @param {T} val The value to set at the index.

Implementation

void setElt(
  _i2.num i,
  T val,
) {
  _i4.callMethod(
    this,
    'setElt',
    [
      i,
      val,
    ],
  );
}