curve property Null safety

Curve curve

The curve of the animation.

Implementation

Curve get curve => _animation.curve;
void curve=(Curve value)

Implementation

set curve(Curve value) {
  assert(value != null);
  if (value == _animation.curve)
    return;
  _animation.curve = value;
}