internalRemoveAnimation method Null safety

bool internalRemoveAnimation(
  1. Animation animation
)

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

Implementation

bool internalRemoveAnimation(Animation animation) {
  bool removed = _animations.remove(animation);

  return removed;
}