PhaseSettings class

Leak tracking settings for a specific phase of the application execution.

Can be used to customize leak tracking for individual tests.

Annotations

Constructors

PhaseSettings({IgnoredLeaks ignoredLeaks = const IgnoredLeaks(), bool ignoreLeaks = false, String? name, LeakDiagnosticConfig leakDiagnosticConfig = const LeakDiagnosticConfig(), MemoryBaselining? baselining})
const
PhaseSettings.experimentalNotGCedOn()
const
PhaseSettings.ignored()
const

Properties

baselining MemoryBaselining?
final
hashCode int
The hash code for this object.
no setteroverride
ignoredLeaks IgnoredLeaks
final
ignoreLeaks bool
When true, added objects will not be tracked.
final
leakDiagnosticConfig LeakDiagnosticConfig
What diagnostic information to collect for leaks.
final
name String?
Phase of the application execution.
final
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.
override