setFailed method
void
setFailed()
Implementation
void setFailed()
{
this._successful = false;
if(!_completer.isCompleted)
{
_completer.complete(null);
}
this._finished = true;
}
void setFailed()
{
this._successful = false;
if(!_completer.isCompleted)
{
_completer.complete(null);
}
this._finished = true;
}