analyzeTaskProvider top-level property

ConfigurableTaskProviderFamily<AnalyzeTask, AnalyzeConfig> analyzeTaskProvider
final

A riverpod provider for the analyze task.

Implementation

final analyzeTaskProvider = TaskProvider.configurable(
  AnalyzeTask._taskName,
  AnalyzeConfig.fromJson,
  (ref, config) => AnalyzeTask(
    fileResolver: ref.watch(fileResolverProvider),
    programRunner: ref.watch(programRunnerProvider),
    logger: ref.watch(taskLoggerProvider),
    config: config,
  ),
);