setKnownSequenceIdsWithTheirUids method
void
setKnownSequenceIdsWithTheirUids(
- MessageSequence knownSequenceIds,
- MessageSequence correspondingKnownUids
Specifies the optional known message sequence IDs with knownSequenceIds
along with their corresponding UIds correspondingKnownUids
.
Implementation
void setKnownSequenceIdsWithTheirUids(MessageSequence knownSequenceIds,
MessageSequence correspondingKnownUids) {
if (knownSequenceIds == correspondingKnownUids) {
throw StateError(
'Invalid known and sequence ids are the same $knownSequenceIds');
}
_knownSequenceIds = knownSequenceIds;
_knownSequenceIdsUids = correspondingKnownUids;
}