NoEnvOrContainsAny class

This filter validates dependencies with no environment keys, or the ones containing one of the provided environments

Inheritance

Constructors

NoEnvOrContainsAny(Set<String> environments)
const

Properties

environments Set<String?>
holds passed environment keys to be used inside the filter or retrieved later by users
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

canRegister(Set<String> depEnvironments) bool
This function is called before every registration call, if it returns true, the dependency will be registered otherwise, it will be ignored
override
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