ListState constructor

const ListState({
  1. List<String> ids = const [],
  2. int? total,
  3. String? nextCursor,
  4. String? prevCursor,
  5. bool hasNextPage = false,
  6. bool hasPrevPage = false,
  7. bool isFetching = false,
  8. bool isFetchingMore = false,
  9. String? error,
  10. DateTime? lastFetched,
  11. bool stale = false,
})

Implementation

const ListState({
  this.ids = const [],
  this.total,
  this.nextCursor,
  this.prevCursor,
  this.hasNextPage = false,
  this.hasPrevPage = false,
  this.isFetching = false,
  this.isFetchingMore = false,
  this.error,
  this.lastFetched,
  this.stale = false,
});