put method

void put (int index, 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.