isClosed method

bool isClosed()

returns boolean for checking if the current animation is dismissed.

Implementation

bool isClosed() {
  return _state == CurrentAnimationState.CLOSED;
}