copyWith method

WebApiModulesInventoryInventoryCompleteKitInventoryCompleteKit 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. dynamic urlIdentifier,
  19. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  20. List<FwStandardDataFwCustomValue>? custom,
  21. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  22. FwStandardBusinessLogicFwBusinessLogic? original,
  23. List<FwStandardDataFwTranslatedValue>? translation,
  24. bool? hasImport,
  25. bool? hasDocuments,
  26. String? createdByUserId,
  27. String? createdByUserName,
  28. String? createdDateTime,
  29. String? modifiedByUserId,
  30. String? modifiedByUserName,
  31. String? modifiedDateTime,
})

Implementation

WebApiModulesInventoryInventoryCompleteKitInventoryCompleteKit 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,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  bool? hasDocuments,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  return WebApiModulesInventoryInventoryCompleteKitInventoryCompleteKit(
    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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    hasDocuments: hasDocuments ?? this.hasDocuments,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}