HookTask.always constructor

HookTask.always({
  1. List<Pattern> exclude = const [],
})

Creates a task that always runs, even if no files are being processed or if the files do not match the task's patterns.

Implementation

HookTask.always({
  this.exclude = const [],
})  : include = [AllFiles()],
      _always = true,
      id = const Uuid().v4();