WorkletAnimation 构造函数

WorkletAnimation(
  1. String animatorName,
  2. List<KeyframeEffectReadOnly> effects,
  3. List<Object> timelines,
  4. dynamic options
)

实现

factory WorkletAnimation(
    String animatorName,
    List<KeyframeEffectReadOnly> effects,
    List<Object> timelines,
    /*SerializedScriptValue*/ options) {
  var options_1 = convertDartToNative_SerializedScriptValue(options);
  return WorkletAnimation._create_1(
      animatorName, effects, timelines, options_1);
}