LeakTrackingConfig.passive constructor
The leak_tracker:
- will not auto check leaks
- when leak checking is invoked, will not send notifications
- will set
disposalTime
to zero, to assume the methodsdispose
are completed at the moment of leak checking
Implementation
LeakTrackingConfig.passive({
int numberOfGcCycles = defaultNumberOfGcCycles,
Duration disposalTime = const Duration(),
int? maxRequestsForRetainingPath = 10,
}) : this(
stdoutLeaks: false,
notifyDevTools: false,
checkPeriod: null,
disposalTime: disposalTime,
numberOfGcCycles: numberOfGcCycles,
maxRequestsForRetainingPath: maxRequestsForRetainingPath,
);