operator [] method

Animation operator [](
  1. Object key
)

Returns the animation with a given tag, this animation is tied to the controller.

Implementation

Animation operator [](Object key) {
  assert(_animations.containsKey(key),
      "There was no animatable with the key: $key");
  return _animations[key]!;
}