flushMessage method

DataMessage? flushMessage(
  1. int seqId
)

Implementation

DataMessage? flushMessage(int seqId) {
  var idx = _messages.find(DataMessage(seq: seqId), false);
  return idx >= 0 ? _messages.deleteAt(idx) : null;
}