copyWith method
Implementation
BoardItemState copyWith({
int? listIndex,
int? itemIndex,
Widget? widget,
Offset? position,
Size? size,
}) {
return BoardItemState(
listIndex: listIndex ?? this.listIndex,
itemIndex: itemIndex ?? this.itemIndex,
widget: widget ?? this.widget,
position: position ?? this.position,
size: size ?? this.size,
);
}