Location constructor

Location({
  1. required double latitude,
  2. required double longitude,
  3. required double altitude,
  4. required double speed,
  5. required double speedometer,
  6. required double accuracy,
  7. required int timestamp,
  8. required double bearing,
  9. required bool isMock,
  10. required int battery,
})

Implementation

Location(
    {required this.latitude,
    required this.longitude,
    required this.altitude,
    required this.speed,
    required this.speedometer,
    required this.accuracy,
    required this.timestamp,
    required this.bearing,
    required this.isMock,
    required this.battery});