ReverseAnimation constructor Null safety

ReverseAnimation(
  1. Animation<double> parent
)

Creates a reverse animation.

The parent argument must not be null.

Implementation

ReverseAnimation(this.parent)
  : assert(parent != null);