Skip to content

Commit

Permalink
Updatd changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
vanlooverenkoen committed Jan 11, 2023
1 parent 1c6d4f4 commit 2a9f794
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions lib/src/channel/background_channel.dart
Expand Up @@ -37,10 +37,13 @@ class BackgroundChannel {
final lat = data['lat'] as double; // ignore: avoid_as
final lon = data['lon'] as double; // ignore: avoid_as
final alt = data['alt'] as double; // ignore: avoid_as
final verticalAccuracy = data['vertical_accuracy'] as double; // ignore: avoid_as
final horizontalAccuracy = data['horizontal_accuracy'] as double; // ignore: avoid_as
final verticalAccuracy =
data['vertical_accuracy'] as double; // ignore: avoid_as
final horizontalAccuracy =
data['horizontal_accuracy'] as double; // ignore: avoid_as
final course = data['course'] as double; // ignore: avoid_as
final courseAccuracy = data['course_accuracy'] as double; // ignore: avoid_as
final courseAccuracy =
data['course_accuracy'] as double; // ignore: avoid_as
final speed = data['speed'] as double; // ignore: avoid_as
final speedAccuracy = data['speed_accuracy'] as double; // ignore: avoid_as
await callback(BackgroundLocationUpdateData(
Expand All @@ -52,8 +55,7 @@ class BackgroundChannel {
course: course,
courseAccuracy: courseAccuracy,
speed: speed,
speedAccuracy: speedAccuracy
));
speedAccuracy: speedAccuracy));
return true;
}
}

0 comments on commit 2a9f794

Please sign in to comment.