void removeRange(int start, int end)

Source

void removeRange(int start, int end) {
  _checkRange(start, end, length);
  callMethod('splice', [start, end - start]);
}