factory Animation(
[AnimationEffectReadOnly effect, AnimationTimeline timeline]) {
if (timeline != null) {
return Animation._create_1(effect, timeline);
}
if (effect != null) {
return Animation._create_2(effect);
}
return Animation._create_3();
}
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/Animation/Animation.html