OSRMRoad.withError constructor
OSRMRoad.withError()
Implementation
OSRMRoad.withError()
: _roadLegs = const <RoadLeg>[],
_isError = true,
super(
duration: 0.0,
distance: 0.0,
polylineEncoded: "",
);