copyWith method

WebApiModulesInventoryPhysicalInventoryInventoryPhysicalInventoryInventory copyWith({
  1. int? id,
  2. String? physicalInventoryId,
  3. String? inventoryId,
  4. String? iCode,
  5. String? description,
  6. String? availableFor,
  7. String? availableForDisplay,
  8. double? quantityOwned,
  9. String? trackedBy,
  10. double? unitCost,
  11. bool? isRecount,
  12. String? aisleLocation,
  13. String? shelfLocation,
  14. int? isNegativeInventory,
  15. double? quantityAdded,
  16. double? quantityRetired,
  17. double? lastPurchaseUnitCost,
  18. double? newUnitCost,
  19. String? currentSpaceId,
  20. String? consignorId,
  21. String? dateStamp,
  22. String? auditNote,
  23. String? recordTitle,
  24. dynamic urlIdentifier,
  25. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  26. List<FwStandardDataFwCustomValue>? custom,
  27. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  28. FwStandardBusinessLogicFwBusinessLogic? original,
  29. List<FwStandardDataFwTranslatedValue>? translation,
  30. bool? hasImport,
  31. bool? hasDocuments,
  32. String? createdByUserId,
  33. String? createdByUserName,
  34. String? createdDateTime,
  35. String? modifiedByUserId,
  36. String? modifiedByUserName,
  37. String? modifiedDateTime,
})

Implementation

WebApiModulesInventoryPhysicalInventoryInventoryPhysicalInventoryInventory
copyWith({
  int? id,
  String? physicalInventoryId,
  String? inventoryId,
  String? iCode,
  String? description,
  String? availableFor,
  String? availableForDisplay,
  double? quantityOwned,
  String? trackedBy,
  double? unitCost,
  bool? isRecount,
  String? aisleLocation,
  String? shelfLocation,
  int? isNegativeInventory,
  double? quantityAdded,
  double? quantityRetired,
  double? lastPurchaseUnitCost,
  double? newUnitCost,
  String? currentSpaceId,
  String? consignorId,
  String? dateStamp,
  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 WebApiModulesInventoryPhysicalInventoryInventoryPhysicalInventoryInventory(
    id: id ?? this.id,
    physicalInventoryId: physicalInventoryId ?? this.physicalInventoryId,
    inventoryId: inventoryId ?? this.inventoryId,
    iCode: iCode ?? this.iCode,
    description: description ?? this.description,
    availableFor: availableFor ?? this.availableFor,
    availableForDisplay: availableForDisplay ?? this.availableForDisplay,
    quantityOwned: quantityOwned ?? this.quantityOwned,
    trackedBy: trackedBy ?? this.trackedBy,
    unitCost: unitCost ?? this.unitCost,
    isRecount: isRecount ?? this.isRecount,
    aisleLocation: aisleLocation ?? this.aisleLocation,
    shelfLocation: shelfLocation ?? this.shelfLocation,
    isNegativeInventory: isNegativeInventory ?? this.isNegativeInventory,
    quantityAdded: quantityAdded ?? this.quantityAdded,
    quantityRetired: quantityRetired ?? this.quantityRetired,
    lastPurchaseUnitCost: lastPurchaseUnitCost ?? this.lastPurchaseUnitCost,
    newUnitCost: newUnitCost ?? this.newUnitCost,
    currentSpaceId: currentSpaceId ?? this.currentSpaceId,
    consignorId: consignorId ?? this.consignorId,
    dateStamp: dateStamp ?? this.dateStamp,
    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,
  );
}