getAnimation<R> method
get the animation of provided name
It will throw if Animator.tweenMap is null
Implementation
@override
Animation<R> getAnimation<R>(String name) {
assert(_tweenMap?.isNotEmpty == true);
var anim = _animationMap[name];
if (anim != null) {
return anim as Animation<R>;
}
anim = _tweenMap![name]!.animate(injected.curvedAnimation);
_animationMap[name] = anim;
return anim as Animation<R>;
}