diff --git a/pkgs/leak_tracker_flutter_testing/lib/src/leak_tracking_for_tests.dart b/pkgs/leak_tracker_flutter_testing/lib/src/leak_tracking_for_tests.dart index 58502417..c3a8dc96 100644 --- a/pkgs/leak_tracker_flutter_testing/lib/src/leak_tracking_for_tests.dart +++ b/pkgs/leak_tracker_flutter_testing/lib/src/leak_tracking_for_tests.dart @@ -148,8 +148,10 @@ class LeakTrackingForTestsSettings { this.onLeaks = _emptyLeakHandler, }); + /// Creates a copy of this object with [paused] set to true. LeakTrackingForTestsSettings copyPaused() => copyWith(paused: true); + /// Creates a copy of this object with [paused] set to false. LeakTrackingForTestsSettings copyStarted() => copyWith(paused: false); /// Creates a copy of this object with the given fields replaced