copyWith method

LabelPolylineOptions copyWith({
  1. Alignment? alignment,
  2. bool? rotate,
  3. bool? hideOnEdit,
  4. EdgeInsets? margin,
})

Implementation

LabelPolylineOptions copyWith({
  Alignment? alignment,
  bool? rotate,
  bool? hideOnEdit,
  EdgeInsets? margin,
}) {
  return LabelPolylineOptions(
    alignment: alignment ?? this.alignment,
    rotate: rotate ?? this.rotate,
    hideOnEdit: hideOnEdit ?? this.hideOnEdit,
    margin: margin ?? this.margin,
  );
}