ServiceProviderOptions class
Options for configuring various behaviors of the default ServiceProvider implementation.
Constructors
- ServiceProviderOptions.new({bool validateScopes = false, bool validateOnBuild = false})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- validateOnBuild ↔ bool
-
true
to perform check verifying that all services can be created duringBuildServiceProvider
call; otherwisefalse
. Defaults tofalse
.getter/setter pair - validateScopes ↔ bool
-
true
to perform check verifying that scoped services never gets resolved from root provider; otherwisefalse
. Defaults tofalse
.getter/setter pair
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