operator []= method

void operator []= (dynamic index, E value)
override

Implementation

void operator []=(dynamic index, E value) {
  // TODO(justinfagnani): fix the semantics for non-ints
  // dartbug.com/14605
  if (index is num && index == index.toInt()) {
    _checkIndex(index);
  }
  super[index] = value;
}