RoadOption constructor

const RoadOption({
  1. required Color roadColor,
  2. double roadWidth = 5,
  3. Color? roadBorderColor,
  4. bool zoomInto = true,
  5. double roadBorderWidth = 0,
})

Implementation

const RoadOption({
  required this.roadColor,
  this.roadWidth = 5,
  this.roadBorderColor,
  this.zoomInto = true,
  this.roadBorderWidth = 0,
})  : assert(roadBorderWidth >= 0),
      assert(roadWidth > 0);