ReflectableReader.noLinking constructor
- @visibleForTesting
- DependencyReader dependencyReader = const DependencyReader(),
- String outputExtension = _defaultOutputExtension,
- bool recordComponentFactories = true,
- bool recordInjectableFactories = true,
Always emits an empty ReflectableOutput.urlsNeedingInitReflector.
Useful for tests that do not want to try emulating a complete build.
Implementation
@visibleForTesting
const ReflectableReader.noLinking({
this.dependencyReader = const DependencyReader(),
this.outputExtension = _defaultOutputExtension,
this.recordComponentFactories = true,
this.recordInjectableFactories = true,
}) : hasInput = _nullHasInput,
isLibrary = _nullIsLibrary;