void onComplete=(void function())

The function that is called when a AnimationGroup is completed.

Source

set onComplete(void function()) {
  _onComplete = function;
}