RealtimePaginationCubit constructor

RealtimePaginationCubit({
  1. required int limit,
  2. required Query query,
  3. bool listenToCreations = true,
})

Implementation

RealtimePaginationCubit({
  required this.limit,
  required this.query,
  this.listenToCreations = true,
}) : super(RealtimePaginationState.initial()) {
  loadMoreData();
}