copyWith method
Implementation
SymbolOptions copyWith(SymbolOptions changes) {
return SymbolOptions(
iconSize: changes.iconSize ?? iconSize,
iconImage: changes.iconImage ?? iconImage,
iconRotate: changes.iconRotate ?? iconRotate,
iconOffset: changes.iconOffset ?? iconOffset,
iconAnchor: changes.iconAnchor ?? iconAnchor,
fontNames: changes.fontNames ?? fontNames,
textField: changes.textField ?? textField,
textSize: changes.textSize ?? textSize,
textMaxWidth: changes.textMaxWidth ?? textMaxWidth,
textLetterSpacing: changes.textLetterSpacing ?? textLetterSpacing,
textJustify: changes.textJustify ?? textJustify,
textAnchor: changes.textAnchor ?? textAnchor,
textRotate: changes.textRotate ?? textRotate,
textTransform: changes.textTransform ?? textTransform,
textOffset: changes.textOffset ?? textOffset,
iconOpacity: changes.iconOpacity ?? iconOpacity,
iconColor: changes.iconColor ?? iconColor,
iconHaloColor: changes.iconHaloColor ?? iconHaloColor,
iconHaloWidth: changes.iconHaloWidth ?? iconHaloWidth,
iconHaloBlur: changes.iconHaloBlur ?? iconHaloBlur,
textOpacity: changes.textOpacity ?? textOpacity,
textColor: changes.textColor ?? textColor,
textHaloColor: changes.textHaloColor ?? textHaloColor,
textHaloWidth: changes.textHaloWidth ?? textHaloWidth,
textHaloBlur: changes.textHaloBlur ?? textHaloBlur,
geometry: changes.geometry ?? geometry,
zIndex: changes.zIndex ?? zIndex,
draggable: changes.draggable ?? draggable,
);
}