update method

void update()

Call whenever you change the data array.

Implementation

void update() {
  _cachedPillars.clear();
}