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,
) {
  throw UnsupportedError(
      'WorkletAnimation is not available outside a browser context.');
}