WorkletAnimation constructor

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

Implementation

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,
  );
}