internalAddAnimation method

bool internalAddAnimation(
  1. Animation animation
)

Implementation

bool internalAddAnimation(Animation animation) {
  if (_animations.contains(animation)) {
    return false;
  }
  _animations.add(animation);
  return true;
}