MastodonPage<T> constructor

const MastodonPage<T>({
  1. required List<T> items,
  2. String? nextMaxId,
  3. String? prevMinId,
})

Creates with items as the page contents, and nextMaxId and prevMinId as pagination cursors.

Implementation

const MastodonPage({
  required this.items,
  this.nextMaxId,
  this.prevMinId,
});