Skip to content

Commit

Permalink
chore: added public documentation and trailing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
khatruong2009 committed Sep 6, 2023
1 parent abff5ca commit 8275d56
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ class DefaultRemoteLoggingConstraintProvider

Timer? _timer;

/// Whether the periodic fetch is running.
bool isRunning = false;

/// Stops the periodic fetch.
void stop() {
_timer?.cancel();
isRunning = false;
Expand Down Expand Up @@ -102,7 +104,7 @@ class DefaultRemoteLoggingConstraintProvider
uri,
headers: {
...headers,
HttpHeaders.acceptHeader: 'application/json; charset=utf-8'
HttpHeaders.acceptHeader: 'application/json; charset=utf-8',
},
);

Expand Down

0 comments on commit 8275d56

Please sign in to comment.