kill method

dynamic kill()

Kills the effect, stopping all particle emission and removing active particles.

Implementation

kill() {
  stop(cancel: true);
  _updateState(EffectState.killed);
  postEffectCallback = null;
}