parseAnimationProperty function
Implementation
AnimationProperty parseAnimationProperty(String str) {
AnimationProperty property = AnimationProperty.opacity;
AnimationProperty.values.forEach((element) {
if (element.toJson() == str) property = element;
});
return property;
}