copyWith method

LabelMarkerOptions copyWith({
  1. Alignment? alignment,
  2. bool? rotate,
  3. Widget? label,
  4. bool? hideOnEdit,
  5. EdgeInsets? margin,
})

Implementation

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