setAngleAnimated abstract method

bool setAngleAnimated(
  1. double angle,
  2. double duration,
  3. AnimationType type
)

Animates rotation to the given angle. Returns true if the operation is successful, false otherwise.

Example:

bool angleAnimOk = m.setAngleAnimated(90.0, 0.5, AnimationType.QUINT);
print("Model setAngleAnimated: $angleAnimOk");

Implementation

bool setAngleAnimated(double angle, double duration, AnimationType type);