copyWith method

WebApiModulesHomeControlsInventoryCompleteKitInventoryCompleteKit copyWith({
  1. String? inventoryId,
  2. String? packageId,
  3. String? iCode,
  4. String? iCodeColor,
  5. String? description,
  6. String? descriptionColor,
  7. String? itemClass,
  8. String? inventoryTypeId,
  9. String? inventoryType,
  10. String? categoryId,
  11. String? category,
  12. String? subCategoryId,
  13. String? subCategory,
  14. String? warehouseId,
  15. String? warehouse,
  16. String? auditNote,
  17. String? recordTitle,
  18. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  19. List<FwStandardDataFwCustomValue>? custom,
  20. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  21. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsInventoryCompleteKitInventoryCompleteKit copyWith(
    {String? inventoryId,
    String? packageId,
    String? iCode,
    String? iCodeColor,
    String? description,
    String? descriptionColor,
    String? itemClass,
    String? inventoryTypeId,
    String? inventoryType,
    String? categoryId,
    String? category,
    String? subCategoryId,
    String? subCategory,
    String? warehouseId,
    String? warehouse,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsInventoryCompleteKitInventoryCompleteKit(
      inventoryId: inventoryId ?? this.inventoryId,
      packageId: packageId ?? this.packageId,
      iCode: iCode ?? this.iCode,
      iCodeColor: iCodeColor ?? this.iCodeColor,
      description: description ?? this.description,
      descriptionColor: descriptionColor ?? this.descriptionColor,
      itemClass: itemClass ?? this.itemClass,
      inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
      inventoryType: inventoryType ?? this.inventoryType,
      categoryId: categoryId ?? this.categoryId,
      category: category ?? this.category,
      subCategoryId: subCategoryId ?? this.subCategoryId,
      subCategory: subCategory ?? this.subCategory,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouse: warehouse ?? this.warehouse,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}