copyWith method

WebApiModulesUtilitiesInventoryLocationItemInventoryLocationItem copyWith({
  1. String? inventoryId,
  2. String? warehouseId,
  3. String? iCode,
  4. String? description,
  5. String? availableFor,
  6. String? rank,
  7. String? categoryId,
  8. String? category,
  9. String? subCategoryId,
  10. String? subCategory,
  11. String? inventoryTypeId,
  12. String? inventoryType,
  13. String? warehouseCode,
  14. String? warehouse,
  15. double? quantity,
  16. String? aisleLocation,
  17. String? shelfLocation,
  18. String? auditNote,
  19. String? recordTitle,
  20. dynamic urlIdentifier,
  21. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  22. List<FwStandardDataFwCustomValue>? custom,
  23. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  24. FwStandardBusinessLogicFwBusinessLogic? original,
  25. List<FwStandardDataFwTranslatedValue>? translation,
  26. bool? hasImport,
  27. bool? hasDocuments,
  28. String? createdByUserId,
  29. String? createdByUserName,
  30. String? createdDateTime,
  31. String? modifiedByUserId,
  32. String? modifiedByUserName,
  33. String? modifiedDateTime,
})

Implementation

WebApiModulesUtilitiesInventoryLocationItemInventoryLocationItem copyWith({
  String? inventoryId,
  String? warehouseId,
  String? iCode,
  String? description,
  String? availableFor,
  String? rank,
  String? categoryId,
  String? category,
  String? subCategoryId,
  String? subCategory,
  String? inventoryTypeId,
  String? inventoryType,
  String? warehouseCode,
  String? warehouse,
  double? quantity,
  String? aisleLocation,
  String? shelfLocation,
  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 WebApiModulesUtilitiesInventoryLocationItemInventoryLocationItem(
    inventoryId: inventoryId ?? this.inventoryId,
    warehouseId: warehouseId ?? this.warehouseId,
    iCode: iCode ?? this.iCode,
    description: description ?? this.description,
    availableFor: availableFor ?? this.availableFor,
    rank: rank ?? this.rank,
    categoryId: categoryId ?? this.categoryId,
    category: category ?? this.category,
    subCategoryId: subCategoryId ?? this.subCategoryId,
    subCategory: subCategory ?? this.subCategory,
    inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
    inventoryType: inventoryType ?? this.inventoryType,
    warehouseCode: warehouseCode ?? this.warehouseCode,
    warehouse: warehouse ?? this.warehouse,
    quantity: quantity ?? this.quantity,
    aisleLocation: aisleLocation ?? this.aisleLocation,
    shelfLocation: shelfLocation ?? this.shelfLocation,
    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,
  );
}