copyWith method
Implementation
CheckStockContentModel copyWith(
{int? assetCount,
int? recommendedQuantity,
String? productCode,
String? productName,
String? productImage,
bool? isRecommended,
double? unitPrice}) {
return CheckStockContentModel(
assetCount: assetCount ?? this.assetCount,
productCode: productCode ?? this.productCode,
productName: productName ?? this.productName,
productImage: productImage ?? this.productImage,
scanInOrderId: scanInOrderId ?? this.scanInOrderId,
scanInUserId: scanInUserId ?? this.scanInUserId,
unitPrice: unitPrice ?? this.unitPrice
);
}