dependencyGeneratorBuilder function
Builder
dependencyGeneratorBuilder(
- BuilderOptions options
At first, library scans all the files, look for annotations and prepare .json dependency descriptions
Implementation
Builder dependencyGeneratorBuilder(BuilderOptions options) {
return LibraryBuilder(
InjecteoDependencyGenerator(options),
formatOutput: (generated) => generated.replaceAll(RegExp(r'//.*|\s'), ''),
generatedExtension: '.injecteo.json',
);
}