copyWith method

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountSerial copyWith({
  1. String? physicalInventoryId,
  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? unit,
  15. String? currentSpaceId,
  16. String? currentSpace,
  17. String? consignorId,
  18. String? consignor,
  19. String? auditNote,
  20. String? recordTitle,
  21. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  22. List<FwStandardDataFwCustomValue>? custom,
  23. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  24. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountSerial copyWith(
    {String? physicalInventoryId,
    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? unit,
    String? currentSpaceId,
    String? currentSpace,
    String? consignorId,
    String? consignor,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesInventoryPhysicalInventoryPhysicalInventoryCountSerial(
      physicalInventoryId: physicalInventoryId ?? this.physicalInventoryId,
      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,
      unit: unit ?? this.unit,
      currentSpaceId: currentSpaceId ?? this.currentSpaceId,
      currentSpace: currentSpace ?? this.currentSpace,
      consignorId: consignorId ?? this.consignorId,
      consignor: consignor ?? this.consignor,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}