TweenList<T extends dynamic> constructor

TweenList<T extends dynamic>(
  1. List<TweenPercentage<T>> values
)

constructor, expects a list of TweenPercentage.

Implementation

TweenList(List<TweenPercentage<T>> values) {
  _values = values;
  _values.sort((a, b) => a.percent.compareTo(b.percent));
}