You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/src/packets/workoutsummary.dart
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ import 'keys.dart';
10
10
/// Represents a summary of a completed workout
11
11
///
12
12
/// This takes care of processesing the raw byte data from workout summary characteristics into easily accessible fields. This class also takes care of things like byte endianness, combining multiple high and low bytes .etc, allowing applications to access things in terms of flutter native types.
13
-
classWorkoutSummaryPacketextendsTimestampedData {
13
+
classWorkoutSummaryextendsTimestampedData {
14
14
Duration elapsedTime;
15
15
double workDistance;
16
16
int avgSPM;
@@ -24,10 +24,10 @@ class WorkoutSummaryPacket extends TimestampedData {
24
24
double avgPace;
25
25
26
26
staticSet<String> get datapointIdentifiers =>
27
-
WorkoutSummaryPacket.zero().asMap().keys.toSet();
27
+
WorkoutSummary.zero().asMap().keys.toSet();
28
28
29
29
/// Construct a WorkoutSummary from the bytes returned from the erg
0 commit comments