clear method

void clear()

Disposes the current group (if any), zeros the mirror, resets generation. Leaves the animator usable for further createGroup calls.

Implementation

void clear() {
  disposeGroup();
  _isMemberByNid = Uint8List(0);
  _generation = 0;
}