ServiceProviderOptions class

Options for configuring various behaviors of the default ServiceProvider implementation.

Constructors

ServiceProviderOptions({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 during BuildServiceProvider call; otherwise false. Defaults to false.
getter/setter pair
validateScopes bool
true to perform check verifying that scoped services never gets resolved from root provider; otherwise false. Defaults to false.
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