FakeUseCase<Input, Output> constructor

FakeUseCase<Input, Output>({
  1. Output handler(
    1. Input input
    )?,
  2. Output? returnValue,
  3. bool shouldFail = false,
  4. Object? failureError,
  5. Completer<void>? completer,
  6. Duration delay = Duration.zero,
  7. BlocxEventHub? eventHub,
  8. BlocxCommandType? commandType,
  9. 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,
});