MapPolyline constructor Null safety

const MapPolyline(
  1. {required List<MapLatLng> points,
  2. List<double>? dashArray,
  3. Color? color,
  4. double? width,
  5. StrokeCap? strokeCap,
  6. VoidCallback? onTap}
)

Creates a MapPolyline.

Implementation

const MapPolyline({
  required this.points,
  this.dashArray,
  this.color,
  this.width,
  this.strokeCap,
  this.onTap,
});