RoadLeg constructor

RoadLeg(
  1. double distance,
  2. double duration
)

Implementation

RoadLeg(
  this.distance,
  this.duration,
);