insert method

void insert (int index, E element)

Implementation

void insert(int index, E element) {
  _checkInsertIndex(index);
  callMethod('splice', [index, 0, element]);
}