setUseFrameInterpolation method

void setUseFrameInterpolation(
  1. bool useFrameInterpolation
)

Implementation

void setUseFrameInterpolation(bool useFrameInterpolation) {
  if (dotLottiePlayer != null && !isDisposed) {
    try {
      final player = dotLottiePlayer as JSObject;
      final method = player['setUseFrameInterpolation'.toJS] as JSFunction;
      method.callAsFunction(player, useFrameInterpolation.toJS);
    } catch (e) {}
  }
}