FakeUseCase<Input, Output> constructor
FakeUseCase<Input, Output> ({
- Output handler(
- Input input
- Output? returnValue,
- bool shouldFail = false,
- Object? failureError,
- Completer<
void> ? completer, - Duration delay = Duration.zero,
- BlocxEventHub? eventHub,
- BlocxCommandType? commandType,
- List<
BlocxCommandType> ? commandTypes,
Implementation
FakeUseCase({
this.handler,
this.returnValue,
this.shouldFail = false,
this.failureError,
this.completer,
this.delay = Duration.zero,
super.eventHub,
super.commandType,
super.commandTypes,
});