StackContainsFilter class final
Ignores allocations whose stack trace contains a pattern.
Pattern matching supports both strings and regular expressions.
- Inheritance
-
- Object
- LeakFilter
- StackContainsFilter
Constructors
- StackContainsFilter(Pattern pattern)
-
Creates a stack-content filter.
const
Properties
Methods
-
and(
LeakFilter other) → LeakFilter -
Returns a filter representing the logical AND of this filter and
other.inherited -
ignore(
Allocation allocation) → bool -
Returns
trueif the givenallocationshould be ignored.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
not(
) → LeakFilter -
Returns the logical negation of this filter.
inherited
-
or(
LeakFilter other) → LeakFilter -
Returns a filter representing the logical OR of this filter and
other.inherited -
toString(
) → String -
Returns a human-readable description of this filter.
override
Operators
-
operator &(
LeakFilter other) → LeakFilter -
Logical AND operator alias for and.
inherited
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator |(
LeakFilter other) → LeakFilter -
Logical OR operator alias for or.
inherited