LocationDataModel constructor

LocationDataModel({
  1. int? id,
  2. required double latitude,
  3. required double longitude,
  4. double? altitude,
  5. double? speed,
  6. double? heading,
  7. double? accuracy,
  8. required DateTime timestamp,
})

Implementation

LocationDataModel({
  this.id,
  required this.latitude,
  required this.longitude,
  this.altitude,
  this.speed,
  this.heading,
  this.accuracy,
  required this.timestamp,
});