LeanInjectableBuilder class

A lean builder that generates intermediate injection configuration files.

Annotations
  • @LeanBuilder.new(generateToCache: true, applies: {'InjectableConfigGenerator'})

Constructors

LeanInjectableBuilder(BuilderOptions options)
Creates a LeanInjectableBuilder with the given options.

Properties

autoRegister → bool
Whether auto-registration is enabled.
no setter
classNameMatcher → RegExp?
Pattern matcher for class names when auto-register is enabled.
no setter
fileNameMatcher → RegExp?
Pattern matcher for file names when auto-register is enabled.
no setter
hashCode → int
The hash code for this object.
no setterinherited
outputExtensions → Set<String>
The allowed output extensions for this builder.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(BuildStep buildStep) → FutureOr<void>
Generates the outputs for a given BuildStep.
getTypeResolver(Resolver resolver) → LeanTypeResolver
Builds a LeanTypeResolver for the given resolver.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldBuildFor(BuildCandidate candidate) → bool
This is used to determine if the builder should be run for a given BuildCandidate.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited