ReverseTween<T extends Object?> constructor Null safety

ReverseTween<T extends Object?>(
  1. Tween<T> parent
)

Construct a Tween that evaluates its parent in reverse.

Implementation

ReverseTween(this.parent)
  : assert(parent != null),
    super(begin: parent.end, end: parent.begin);