copyWith method

WebApiModulesInventoryInventoryReceiptAssignBarcodeRequest copyWith({
  1. String? inventoryReceiptId,
  2. String? inventoryReceiptItemId,
  3. String? departmentId,
})

Implementation

WebApiModulesInventoryInventoryReceiptAssignBarcodeRequest copyWith(
    {String? inventoryReceiptId,
    String? inventoryReceiptItemId,
    String? departmentId}) {
  return WebApiModulesInventoryInventoryReceiptAssignBarcodeRequest(
      inventoryReceiptId: inventoryReceiptId ?? this.inventoryReceiptId,
      inventoryReceiptItemId:
          inventoryReceiptItemId ?? this.inventoryReceiptItemId,
      departmentId: departmentId ?? this.departmentId);
}