build method

  1. @override
FutureOr<void> build(
  1. PostProcessBuildStep buildStep
)
override

Generates the outputs and deletes for buildStep.

Implementation

@override
FutureOr<void> build(PostProcessBuildStep buildStep) {
  if (!isEnabled) return null;
  if (exclude.any((g) => g.matches(buildStep.inputId.path))) return null;
  buildStep.deletePrimaryInput();
  return null;
}