messageIdAt method
Retrieves the message ID at the specified messageIndex.
Note that the messageIndex is expected to be based on full messageSequence, where index 0 is the oldest message and size-1 is the newest message.
Implementation
int messageIdAt(int messageIndex) {
final index = (length - messageIndex - 1);
return pagedSequence.sequence.elementAt(index);
}