SuccessGenerator.fromBuilder constructor

SuccessGenerator.fromBuilder(
  1. List<String> inputFiles,
  2. List<String> fixtureFiles,
  3. GetBuilder builder, {
  4. String? partOfFile,
  5. Map<String, dynamic>? options,
  6. bool compareWithFixture = true,
  7. String? extension,
  8. String inputDir = defaultInputDir,
  9. String fixtureDir = defaultFixtureDir,
  10. OnLog? onLog,
  11. Level? logLevel,
})

uses the provided builder and files for testing

Implementation

SuccessGenerator.fromBuilder(
  this.inputFiles,
  this.fixtureFiles,
  GetBuilder builder, {
  this.partOfFile,
  Map<String, dynamic>? options,
  this.compareWithFixture = true,
  String? extension,
  this.inputDir = defaultInputDir,
  this.fixtureDir = defaultFixtureDir,
  OnLog? onLog,
  Level? logLevel,
})  : generator = null,
      _logger = onLog,
      _logLevel = logLevel,
      _builder = builder,
      _options = options,
      _extension = extension;