Animation constructor

const Animation(
  1. String name,
  2. List<Timeline> timelines,
  3. double duration
)

Implementation

const Animation(this.name, this.timelines, this.duration);