copyWith method

CheckStockAssetContentModel copyWith({
  1. String? serialNumber,
  2. String? requestByPartnerId,
  3. String? requestByPartnerName,
  4. String? status,
})

Implementation

CheckStockAssetContentModel copyWith(
    {String? serialNumber,
    String? requestByPartnerId,
    String? requestByPartnerName,
    String? status}) {
  return CheckStockAssetContentModel(
    serialNumber: serialNumber ?? this.serialNumber,
    productCode: productCode ?? this.productCode,
    productName: productName ?? this.productName,
    scanInOrderId: scanInOrderId ?? this.scanInOrderId,
    scanInUserId: scanInUserId ?? this.scanInUserId,
    status: status ?? this.status,
  );
}