copyWith method
Creates a copy of this LayerInteractionIcons
object with the given
fields replaced with new values.
The copyWith method allows you to create a new instance of LayerInteractionIcons with some properties updated while keeping the others unchanged.
Implementation
LayerInteractionIcons copyWith({
IconData? remove,
IconData? edit,
IconData? rotateScale,
}) {
return LayerInteractionIcons(
remove: remove ?? this.remove,
edit: edit ?? this.edit,
rotateScale: rotateScale ?? this.rotateScale,
);
}