Check constructor

const Check({
  1. @Deprecated("Will be removed in the next major version.") String? name,
  2. required List<String> programs,
  3. List<String> directories = const [],
  4. void onFailure(
    1. FlowContext context,
    2. List<String> notFound
    )?,
  5. void onSuccess(
    1. FlowContext context
    )?,
  6. bool searchCanStartProcesses = false,
})

Implementation

const Check({
  @Deprecated("Will be removed in the next major version.")
  this.name,
  required this.programs,
  this.directories = const [],
  this.onFailure,
  this.onSuccess,
  this.searchCanStartProcesses = false,
});