Location constructor

const Location({
  1. required double latitude,
  2. required double longitude,
  3. double? altitude,
  4. double? horizontalAccuracy,
  5. double? verticalAccuracy,
  6. double? course,
  7. double? speed,
  8. DateTime? timestamp,
  9. int? floorLevel,
})

Creates a location

Implementation

const Location({
  required this.latitude,
  required this.longitude,
  this.altitude,
  this.horizontalAccuracy,
  this.verticalAccuracy,
  this.course,
  this.speed,
  this.timestamp,
  this.floorLevel,
});