clearStatusListeners method Null safety

  1. @protected
void clearStatusListeners()
protected">@protected

Removes all listeners added with addStatusListener.

This method is typically called from the dispose method of the class using this mixin if the class also uses the AnimationEagerListenerMixin.

Calling this method will not trigger didUnregisterListener.

Implementation

@protected
void clearStatusListeners() {
  _statusListeners.clear();
}