Animation$cast function
Implementation
Animation? Animation$cast(value) {
if (value == Animation.BOUNCE) return Animation.BOUNCE;
if (value == Animation.DROP) return Animation.DROP;
return null;
}
Animation? Animation$cast(value) {
if (value == Animation.BOUNCE) return Animation.BOUNCE;
if (value == Animation.DROP) return Animation.DROP;
return null;
}