Skip to content

Commit

Permalink
Update leak_tracking_for_tests.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c committed Oct 13, 2023
1 parent e86a80a commit df2d1e2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit df2d1e2

Please sign in to comment.