Animation constructor
Animation([
- AnimationEffect? effect,
- AnimationTimeline? timeline
Implementation
factory Animation([AnimationEffect? effect, AnimationTimeline? timeline]) =>
Animation._(effect ?? undefined, timeline ?? undefined);