dispose method

void dispose()

Implementation

void dispose() {
  onstart = null;
  onfinish = null;
  onremove = null;
  oncancel = null;
  cancel();
  timeline?._removeAnimation(this);
}