copyWith method
Implementation
LeakDiagnosticConfig copyWith({
bool? collectRetainingPathForNotGCed,
bool? collectStackTraceOnStart,
bool? collectStackTraceOnDisposal,
}) {
return LeakDiagnosticConfig(
collectRetainingPathForNotGCed:
collectRetainingPathForNotGCed ?? this.collectRetainingPathForNotGCed,
collectStackTraceOnStart:
collectStackTraceOnStart ?? this.collectStackTraceOnStart,
collectStackTraceOnDisposal:
collectStackTraceOnDisposal ?? this.collectStackTraceOnDisposal,
);
}