markNotSent method
The request could not be sent on this connection, because of reason.
Implementation
void markNotSent(String reason) {
if (_notSent && _notSentReason == reason) return;
_notSent = true;
_notSentReason = reason;
onOutcomeChanged?.call();
}