FakePaginatedUseCase<T extends BlocxBaseEntity> constructor
FakePaginatedUseCase<T extends BlocxBaseEntity> ({
- FakePaginatedSource<
T> ? source, - bool shouldFail = false,
- Object? failureError,
- Completer<
void> ? completer, - Duration delay = Duration.zero,
- BlocxEventHub? eventHub,
- BlocxCommandType? commandType,
- List<
BlocxCommandType> ? commandTypes,
Implementation
FakePaginatedUseCase({
FakePaginatedSource<T>? source,
this.shouldFail = false,
this.failureError,
this.completer,
this.delay = Duration.zero,
super.eventHub,
super.commandType,
super.commandTypes,
}) : source = source ?? FakePaginatedSource<T>();