resetState method

  1. @protected
  2. @mustCallSuper
void resetState()

Restores reset state.

Implementation

@protected
@mustCallSuper
void resetState() {
  freeIndices.reset();
  nextPointers.fillRange(0, entryCount, 0);
  payloads.fillRange(0, entryCount, _zeroData);
  arbiter.reset();
  for (final channel in channels) {
    channel.reset();
  }
}