Location constructor

const Location({
  1. required LocationCoordinates coordinates,
  2. required LocationFuzzyDouble? altitude,
  3. required LocationCourse? course,
  4. required LocationFuzzyDouble? groundSpeed,
  5. required Duration timestamp,
})

Implementation

const Location({
  required this.coordinates,
  required this.altitude,
  required this.course,
  required this.groundSpeed,
  required this.timestamp
});