AutoConfigurationBuild class

When the generator puts an AutoConfigurationModule into the application: by property of the application's configuration (application.yml and application.properties without a profile), read when build_runner runs.

  • true: in every build;
  • false: in none, so the module is no code at all;
  • not set: whenMissing.
@AutoConfigurationModule(
  build: AutoConfigurationBuild('spring.flutter.debug.enabled'),
)
final BeanModule debugAutoConfiguration = BeanModule(...);

Constructors

AutoConfigurationBuild(String property, {BuildInclusion whenMissing = BuildInclusion.notInRelease})
The module by property; whenMissing when it is not set.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
property → String
The property that decides (spring.flutter.debug.enabled).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
whenMissing → BuildInclusion
What the build does when the configuration does not set property.
final

Methods

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