Providers class
Internal: The Providers class is a static class used in the context of the registration and resolution of InstanceProviders.
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
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
Static Methods
-
filter(
Environment environment, bool providerFilter(AbstractInstanceProvider)) → Map< Type, AbstractInstanceProvider> - Filter providers based on the given environment and provider filter
-
isRegistered(
Type type) → bool - Check if a type is registered
-
register(
AbstractInstanceProvider provider) → void - Register a provider