copyWith method
Implementation
ReorderableEntity copyWith({
Size? size,
bool? isBuildingOffset,
}) =>
ReorderableEntity(
key: key,
originalOrderId: originalOrderId,
updatedOrderId: updatedOrderId,
originalOffset: originalOffset,
updatedOffset: updatedOffset,
size: size ?? this.size,
isBuildingOffset: isBuildingOffset ?? this.isBuildingOffset,
hasSwappedOrder: hasSwappedOrder,
);