parseCustomAnimationControl function
Implementation
CustomAnimationControl? parseCustomAnimationControl(String str) {
CustomAnimationControl? control;
CustomAnimationControl.values.forEach((element) {
if (element.toJson() == str) control = element;
});
return control;
}