remove method Null safety

void remove(
  1. Animatable animatable
)

Removes the specified animatable from this juggler.

Implementation

void remove(Animatable animatable) {
  _AnimatableLink? link = _firstAnimatableLink;
  while (identical(link, _lastAnimatableLink) == false) {
    if (identical(link?.animatable, animatable)) {
      link?.animatable = null;
      break;
    }
    link = link?.nextAnimatableLink;
  }
}