Skip to content

Commit

Permalink
Fix typo in stopwatch serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
AhsanSarwar45 committed Jun 27, 2024
1 parent eb44c8c commit c95e08d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/stopwatch/types/stopwatch.dart
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class ClockStopwatch extends JsonSerializable {
orElse: () => TimerState.stopped);
_id = json['id'] ?? UniqueKey().hashCode;
// _finishedLaps = [];
_laps = listFromString(json['laps'] ?? '');
_laps = listFromString(json['laps'] ?? '[]');
updateFastestAndSlowestLap();
}
}

0 comments on commit c95e08d

Please sign in to comment.