LinearAnimationInstance constructor Null safety

LinearAnimationInstance(
  1. LinearAnimation animation
)

Implementation

LinearAnimationInstance(this.animation)
    : _time =
          (animation.enableWorkArea ? animation.workStart : 0).toDouble() /
              animation.fps;