notifySendCredit method
void
notifySendCredit()
Wakes writers waiting on sendCreditChanged.
Implementation
void notifySendCredit() {
final waiting = _sendCredit;
if (waiting.isCompleted) return;
_sendCredit = Completer<void>();
waiting.complete();
}