IgnoredLeaks class
The total set of ignored leaks.
Includes both experimentalNotGCed and notDisposed leaks.
- Annotations
Constructors
-
IgnoredLeaks({IgnoredLeaksSet experimentalNotGCed = const IgnoredLeaksSet.ignore(), IgnoredLeaksSet notDisposed = const IgnoredLeaksSet(), bool createdByTestHelpers = false, List<
RegExp> testHelperExceptions = const []}) -
const
Properties
- createdByTestHelpers → bool
-
If true, leaking objects created by test helpers will be ignored.
final
- experimentalNotGCed → IgnoredLeaksSet
-
Ignore list for notGCed leaks.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- notDisposed → IgnoredLeaksSet
-
Ignore list for notDisposed leaks.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
testHelperExceptions
→ List<
RegExp> -
Stack frames that match this pattern will not be treated as test helpers.
final
Methods
-
isIgnored(
String className, {LeakType? leakType}) → bool - Returns true if the class is 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.
override