isNewMessage method

bool isNewMessage(
  1. dynamic seqId
)

Check if the given seq Id is id of the most recent message seqId id of the message to check

Implementation

bool isNewMessage(seqId) {
  return _maxSeq <= seqId;
}