RoadOption constructor

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

Implementation

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