setUnchecked method

void setUnchecked(
  1. int index,
  2. T value
)

Sets the element at the given index without doing bounds checking.

Implementation

@pragma("vm:prefer-inline")
void setUnchecked(int index, T value) => _list[index + _start] = value;