injectableBuilder function
Builder
injectableBuilder(
- BuilderOptions options
Implementation
Builder injectableBuilder(BuilderOptions options) {
return LibraryBuilder(
InjectableGenerator(options.config),
formatOutput: (generated) => generated.replaceAll(RegExp(r'//.*|\s'), ''),
generatedExtension: '.injectable.json',
);
}