MessageSequence.fromIds constructor

MessageSequence.fromIds(
  1. List<int> ids, {
  2. bool isUid = false,
})

Convenience method to creating a sequence from a list of ids.

Optionally specify the if the ID is a UID with isUid, defaults to false.

Implementation

MessageSequence.fromIds(List<int> ids, {bool isUid = false})
    : isUidSequence = isUid {
  addList(ids);
}