copy method Null safety

  1. @override
void copy(
  1. covariant LinearAnimationBase source
)

Copies property values, currently doesn't trigger change callbacks. It's meant to be a helper for clone.

Implementation

@override
void copy(LinearAnimationBase source) {
  super.copy(source);
  _fps = source._fps;
  _duration = source._duration;
  _speed = source._speed;
  _loopValue = source._loopValue;
  _workStart = source._workStart;
  _workEnd = source._workEnd;
  _enableWorkArea = source._enableWorkArea;
}