copyWith method

WebApiModulesHomeControlsPhysicalInventoryCycleInventoryPhysicalInventoryCycleInventory copyWith({
  1. int? id,
  2. String? physicalInventoryId,
  3. String? inventoryId,
  4. String? consignorId,
  5. String? iCode,
  6. String? description,
  7. String? availableFor,
  8. String? availableForDisplay,
  9. String? trackedBy,
  10. String? rank,
  11. String? aisleLocation,
  12. String? shelfLocation,
  13. String? dateStamp,
  14. String? auditNote,
  15. String? recordTitle,
  16. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  17. List<FwStandardDataFwCustomValue>? custom,
  18. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

Implementation

WebApiModulesHomeControlsPhysicalInventoryCycleInventoryPhysicalInventoryCycleInventory
    copyWith(
        {int? id,
        String? physicalInventoryId,
        String? inventoryId,
        String? consignorId,
        String? iCode,
        String? description,
        String? availableFor,
        String? availableForDisplay,
        String? trackedBy,
        String? rank,
        String? aisleLocation,
        String? shelfLocation,
        String? dateStamp,
        String? auditNote,
        String? recordTitle,
        List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
        List<FwStandardDataFwCustomValue>? custom,
        List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  return WebApiModulesHomeControlsPhysicalInventoryCycleInventoryPhysicalInventoryCycleInventory(
      id: id ?? this.id,
      physicalInventoryId: physicalInventoryId ?? this.physicalInventoryId,
      inventoryId: inventoryId ?? this.inventoryId,
      consignorId: consignorId ?? this.consignorId,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      availableFor: availableFor ?? this.availableFor,
      availableForDisplay: availableForDisplay ?? this.availableForDisplay,
      trackedBy: trackedBy ?? this.trackedBy,
      rank: rank ?? this.rank,
      aisleLocation: aisleLocation ?? this.aisleLocation,
      shelfLocation: shelfLocation ?? this.shelfLocation,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}