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