Location constructor
const
Location({ - required String uuid,
- required DateTime timestamp,
- required Coords coords,
- int? age,
- String? event,
- bool? isMoving,
- bool? isHeartbeat,
- bool isMock = false,
- Activity? activity,
- Battery? battery,
- Geofence? geofence,
- double? odometer,
})
Implementation
const Location({
required this.uuid,
required this.timestamp,
required this.coords,
this.age,
this.event,
this.isMoving,
this.isHeartbeat,
this.isMock = false,
this.activity,
this.battery,
this.geofence,
this.odometer,
this.extras,
});