Mobility constructor

Mobility({
  1. DateTime? timestamp,
  2. DateTime? date,
  3. int? numberOfStops,
  4. int? numberOfMoves,
  5. int? numberOfPlaces,
  6. double? locationVariance,
  7. double? entropy,
  8. double? normalizedEntropy,
  9. double? homeStay,
  10. double? distanceTraveled,
})

Implementation

Mobility({
  this.timestamp,
  this.date,
  this.numberOfStops,
  this.numberOfMoves,
  this.numberOfPlaces,
  this.locationVariance,
  this.entropy,
  this.normalizedEntropy,
  this.homeStay,
  this.distanceTraveled,
}) : super() {
  timestamp ??= DateTime.now();
}