EnvironmentFilter class abstract

filter for whether to register for the given set of environments clients can extend this class to maker their own environmentFilters

Constructors

EnvironmentFilter(Set<String?> environments)
default constructor
const

Properties

environments Set<String?>
holds passed environment keys to be used inside the filter or retrieved later by users
final
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
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