RoadLeg constructor

const RoadLeg(
  1. double distance,
  2. double duration, {
  3. List<RoadStep> steps = const [],
})

Implementation

const RoadLeg(
  this.distance,
  this.duration, {
  this.steps = const [],
});