debugTransitionCompleted method
Returns true if the transition has completed.
It is equivalent to whether the future returned by completed has completed.
This method only works if assert is enabled. Otherwise it always returns false.
Implementation
@protected
bool debugTransitionCompleted() {
bool disposed = false;
assert(() {
disposed = _transitionCompleter.isCompleted;
return true;
}());
return disposed;
}