copyWith method

DashedPolylineOptions copyWith({
  1. LogicalPixel? dashLength,
  2. LogicalPixel? dashSpaceLength,
})

Implementation

DashedPolylineOptions copyWith({
  LogicalPixel? dashLength,
  LogicalPixel? dashSpaceLength
}) {
  return DashedPolylineOptions(
    dashLength: dashLength ?? this.dashLength,
    dashSpaceLength: dashSpaceLength ?? this.dashSpaceLength
  );
}