Animation constructor

Animation([
  1. AnimationEffect? effect,
  2. AnimationTimeline? timeline
])

Implementation

external factory Animation([
  AnimationEffect? effect,
  AnimationTimeline? timeline,
]);