Update animation.dart

unreachable code (Dart2JS warning)