phase property

PhaseSettings get phase

Settings for leak tracking phase.

Can be modified before leak tracking is started and while it is in process.

Objects will be assigned to the phase at the moment of tracking start. Name of the phase will be mentioned in the leak report.

Implementation

static PhaseSettings get phase => _phase.value;
set phase (PhaseSettings value)

Implementation

static set phase(PhaseSettings value) {
  if (_phase.value == value) return;
  _baseliner = Baseliner.finishOldAndStartNew(_baseliner, value.baselining);
  _phase.value = value;
}