KeyframeEffect(Element target, Object effect, [ timing ])

Source

@DomName('KeyframeEffect.KeyframeEffect')
@DocsEditable()
factory KeyframeEffect(Element target, Object effect, [timing]) {
  if (effect != null &&
      (target is Element || target == null) &&
      timing == null) {
    return _blink.BlinkKeyframeEffect.instance
        .constructorCallback_2_(target, effect);
  }
  if ((timing is num) &&
      effect != null &&
      (target is Element || target == null)) {
    return _blink.BlinkKeyframeEffect.instance
        .constructorCallback_3_(target, effect, timing);
  }
  if ((timing is Map) &&
      effect != null &&
      (target is Element || target == null)) {
    var timing_1 = convertDartToNative_Dictionary(timing);
    return _blink.BlinkKeyframeEffect.instance
        .constructorCallback_3_(target, effect, timing_1);
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}