put method

void put(
  1. int index,
  2. dynamic value
)

Puts a new value into array element specified by its index.

  • index an index of the element to put.
  • value a new value for array element.

Implementation

void put(int index, value) {
  _values[index] = value;
}