setValue method

void setValue(
  1. List<int> key,
  2. T value
)

Sets the value at the given key (index-list).

Implementation

void setValue(List<int> key, T value) => data[layout.toIndex(key)] = value;