fromIds method Null safety

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.


static MessageSequence fromIds(List<int> ids, {bool isUid = false}) {
  final sequence = MessageSequence(isUidSequence: isUid);
  return sequence;