internalAddAnimation method

bool internalAddAnimation(
  1. Animation animation
)

Called by rive_core to add an Animation to an Artboard. This should be @internal when it's supported.

Implementation

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

  return true;
}