FakeCursorPaginatedUseCase<T extends BlocxBaseEntity> constructor

FakeCursorPaginatedUseCase<T extends BlocxBaseEntity>({
  1. FakePaginatedSource<T>? source,
  2. bool shouldFail = false,
  3. Object? failureError,
  4. Completer<void>? completer,
  5. Duration delay = Duration.zero,
  6. BlocxEventHub? eventHub,
  7. BlocxCommandType? commandType,
  8. List<BlocxCommandType>? commandTypes,
})

Implementation

FakeCursorPaginatedUseCase({
  FakePaginatedSource<T>? source,
  this.shouldFail = false,
  this.failureError,
  this.completer,
  this.delay = Duration.zero,
  super.eventHub,
  super.commandType,
  super.commandTypes,
}) : source = source ?? FakePaginatedSource<T>();