KeyframeEffectReadOnly constructor Null safety

KeyframeEffectReadOnly(
  1. Element? target,
  2. Object? effect,
  3. [Object? options]
)

Implementation

factory KeyframeEffectReadOnly(Element? target, Object? effect,
    [Object? options]) {
  if (options != null) {
    return KeyframeEffectReadOnly._create_1(target, effect, options);
  }
  return KeyframeEffectReadOnly._create_2(target, effect);
}