copyWith method
Implementation
DraggableAnimationItem copyWith({
String? id,
double? dx,
double? dy,
double? width,
double? height,
}) {
return DraggableAnimationItem(
id : id ?? this.id,
dx : dx ?? this.dx,
dy : dy ?? this.dy,
width : width ?? this.width,
height : height ?? this.height,
data : this.data
);
}