to method

void to(
  1. num targetValue
)

Animate the property from the current value to a given target value.

Implementation

void to(num targetValue) {
  _targetValue = targetValue.toDouble();
}