Segment constructor

Segment({
  1. num? distance,
  2. num? duration,
  3. List<StepWay>? steps,
  4. num? ascent,
  5. num? descent,
})

Implementation

Segment({
  this.distance,
  this.duration,
  this.steps,
  this.ascent,
  this.descent,
});