InfiniteQueryPage<DataType, ErrorType, PageType> constructor

const InfiniteQueryPage<DataType, ErrorType, PageType>({
  1. required PageType page,
  2. DataType? data,
  3. ErrorType? error,
  4. required DateTime updatedAt,
  5. required Duration staleDuration,
  6. bool loading = false,
})

Implementation

const InfiniteQueryPage({
  required this.page,
  this.data,
  this.error,
  required this.updatedAt,
  required this.staleDuration,
  bool loading = false,
}) : _loading = loading;