LeakTrackingConfig constructor

const LeakTrackingConfig({
  1. bool stdoutLeaks = true,
  2. bool notifyDevTools = true,
  3. LeakSummaryCallback? onLeaks,
  4. Duration? checkPeriod = const Duration(seconds: 1),
  5. Duration disposalTime = const Duration(milliseconds: 100),
  6. int numberOfGcCycles = defaultNumberOfGcCycles,
  7. int? maxRequestsForRetainingPath = 10,
})

Implementation

const LeakTrackingConfig({
  this.stdoutLeaks = true,
  this.notifyDevTools = true,
  this.onLeaks,
  this.checkPeriod = const Duration(seconds: 1),
  this.disposalTime = const Duration(milliseconds: 100),
  this.numberOfGcCycles = defaultNumberOfGcCycles,
  this.maxRequestsForRetainingPath = 10,
});