Motion constructor

const Motion({
  1. int floorsDescended = 0,
  2. DateTime? endDate,
  3. int floorsAscended = 0,
  4. int numberOfSteps = 0,
  5. double distance = 0,
  6. DateTime? startDate,
  7. double averageActivePace = 0,
  8. double currentPace = 0,
})

Implementation

const Motion(
    {this.floorsDescended = 0,
    this.endDate,
    this.floorsAscended = 0,
    this.numberOfSteps = 0,
    this.distance = 0,
    this.startDate,
    this.averageActivePace = 0,
    this.currentPace = 0});