Skip to content

Commit

Permalink
Update development_helpers.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
polina-c committed Sep 1, 2024
1 parent 6bdcaf9 commit 7dfab2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/devtools_app/lib/src/shared/development_helpers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -318,9 +318,9 @@ class DebugTimer {

static const _prefix = 'DebugTimer. ';

// ignore: prefer_const_declarations, avoid-explicit-type-declaration, not relevant when used
/// To start measuring temporarily set snapshot to DebugTimer().
/// To start measuring temporarily assign the variable to DebugTimer().
/// It should be set to null in master branch.
// ignore: prefer_const_declarations, avoid-explicit-type-declaration, not relevant when used
static final DebugTimer? snapshot = DebugTimer();

final _timer = Stopwatch();
Expand Down

0 comments on commit 7dfab2f

Please sign in to comment.