MessageSequence.fromRangeToLast constructor

MessageSequence.fromRangeToLast(
  1. int start, {
  2. bool isUidSequence = false,
})

Convenience method for getting the sequence for a single range from start to the last message inclusive.

Note that the last message will always be returned, even when the sequence ID / UID of the last message is smaller than start.

Implementation

MessageSequence.fromRangeToLast(int start, {this.isUidSequence = false}) {
  addRangeToLast(start);
}