fromIds static method
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
static MessageSequence fromIds(List<int> ids, {bool isUid = false}) {
final sequence = MessageSequence(isUidSequence: isUid);
sequence.addList(ids);
return sequence;
}