InjectableMicroPackagesGenerator class
Aggregate builder
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeChecker → TypeChecker
-
no setterinherited
Methods
-
generate(
LibraryReader library, BuildStep buildStep) → FutureOr< String> -
Generates Dart code for an input Dart library.
inherited
-
generateForAnnotatedElement(
Element element, ConstantReader annotation, BuildStep buildStep) → dynamic - This method is called for each source that has @microPackage annotation. The goal is to add a part file to the root injection.config.dart file This part file will call the registration of micro module dependencies. It searches for micro.json files, which are the work of InjectableMicroPackagesScout This generator will fail if a micro_packages.json file is not found in the lib/ folder TODO: this script only works if injection.dart has the imports for the modules... this doesn't make much sense.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited