copyWith method

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountQuantity copyWith({
  1. int? physicalInventoryItemId,
  2. String? inventoryId,
  3. String? inventoryType,
  4. String? category,
  5. String? iCode,
  6. String? description,
  7. String? aisleLocation,
  8. String? shelfLocation,
  9. String? categoryId,
  10. double? categoryOrderBy,
  11. int? inventoryTypeOrderBy,
  12. String? inventoryTypeId,
  13. String? unitId,
  14. String? weightUnitId,
  15. String? lengthUnitId,
  16. int? sessionQuantity,
  17. int? quantity,
  18. int? currentQuantity,
  19. int? weight,
  20. int? length,
  21. String? unit,
  22. String? weightUnit,
  23. String? lengthUnit,
  24. String? currentSpaceId,
  25. String? currentSpace,
  26. bool? isRecount,
  27. String? consignorId,
  28. String? consignor,
  29. String? physicalInventoryId,
  30. String? auditNote,
  31. String? recordTitle,
  32. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  33. List<FwStandardDataFwCustomValue>? custom,
  34. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  35. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountQuantity
    copyWith(
        {int? physicalInventoryItemId,
        String? inventoryId,
        String? inventoryType,
        String? category,
        String? iCode,
        String? description,
        String? aisleLocation,
        String? shelfLocation,
        String? categoryId,
        double? categoryOrderBy,
        int? inventoryTypeOrderBy,
        String? inventoryTypeId,
        String? unitId,
        String? weightUnitId,
        String? lengthUnitId,
        int? sessionQuantity,
        int? quantity,
        int? currentQuantity,
        int? weight,
        int? length,
        String? unit,
        String? weightUnit,
        String? lengthUnit,
        String? currentSpaceId,
        String? currentSpace,
        bool? isRecount,
        String? consignorId,
        String? consignor,
        String? physicalInventoryId,
        String? auditNote,
        String? recordTitle,
        List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
        List<FwStandardDataFwCustomValue>? custom,
        List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
        List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountQuantity(
      physicalInventoryItemId:
          physicalInventoryItemId ?? this.physicalInventoryItemId,
      inventoryId: inventoryId ?? this.inventoryId,
      inventoryType: inventoryType ?? this.inventoryType,
      category: category ?? this.category,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      aisleLocation: aisleLocation ?? this.aisleLocation,
      shelfLocation: shelfLocation ?? this.shelfLocation,
      categoryId: categoryId ?? this.categoryId,
      categoryOrderBy: categoryOrderBy ?? this.categoryOrderBy,
      inventoryTypeOrderBy: inventoryTypeOrderBy ?? this.inventoryTypeOrderBy,
      inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
      unitId: unitId ?? this.unitId,
      weightUnitId: weightUnitId ?? this.weightUnitId,
      lengthUnitId: lengthUnitId ?? this.lengthUnitId,
      sessionQuantity: sessionQuantity ?? this.sessionQuantity,
      quantity: quantity ?? this.quantity,
      currentQuantity: currentQuantity ?? this.currentQuantity,
      weight: weight ?? this.weight,
      length: length ?? this.length,
      unit: unit ?? this.unit,
      weightUnit: weightUnit ?? this.weightUnit,
      lengthUnit: lengthUnit ?? this.lengthUnit,
      currentSpaceId: currentSpaceId ?? this.currentSpaceId,
      currentSpace: currentSpace ?? this.currentSpace,
      isRecount: isRecount ?? this.isRecount,
      consignorId: consignorId ?? this.consignorId,
      consignor: consignor ?? this.consignor,
      physicalInventoryId: physicalInventoryId ?? this.physicalInventoryId,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}