KeyframeEffect constructor Null safety

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

Implementation

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