withLaterData method

MetaGetBuilder withLaterData(
  1. int? limit
)

Add query parameters to fetch messages newer than the latest saved message

Implementation

MetaGetBuilder withLaterData(int? limit) {
  if (topic.maxSeq <= 0) {
    return this;
  }

  return withData((topic.maxSeq > 0 ? topic.maxSeq + 1 : null)!, null, limit);
}