copyWith method

WebApiModulesHomeControlsServiceOrderItemServiceOrderItem copyWith({
  1. String? serviceOrderItemId,
  2. String? repairId,
  3. String? repairNumber,
  4. String? barCode,
  5. String? serialNumber,
  6. String? repairICode,
  7. String? trackedBy,
  8. String? repairDescription,
  9. double? quantity,
  10. double? rate,
  11. double? extended,
  12. String? repairInventoryId,
  13. String? warehouseId,
  14. String? warehouseCode,
  15. String? warehouse,
  16. String? repairCostId,
  17. String? repairPartId,
  18. String? itemOrder,
  19. String? notes,
  20. String? recType,
  21. String? recTypeDisplay,
  22. String? consignorId,
  23. String? consignorAgreementId,
  24. String? inventoryId,
  25. String? iCode,
  26. String? description,
  27. String? auditNote,
  28. String? recordTitle,
  29. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  30. List<FwStandardDataFwCustomValue>? custom,
  31. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  32. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsServiceOrderItemServiceOrderItem copyWith(
    {String? serviceOrderItemId,
    String? repairId,
    String? repairNumber,
    String? barCode,
    String? serialNumber,
    String? repairICode,
    String? trackedBy,
    String? repairDescription,
    double? quantity,
    double? rate,
    double? extended,
    String? repairInventoryId,
    String? warehouseId,
    String? warehouseCode,
    String? warehouse,
    String? repairCostId,
    String? repairPartId,
    String? itemOrder,
    String? notes,
    String? recType,
    String? recTypeDisplay,
    String? consignorId,
    String? consignorAgreementId,
    String? inventoryId,
    String? iCode,
    String? description,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsServiceOrderItemServiceOrderItem(
      serviceOrderItemId: serviceOrderItemId ?? this.serviceOrderItemId,
      repairId: repairId ?? this.repairId,
      repairNumber: repairNumber ?? this.repairNumber,
      barCode: barCode ?? this.barCode,
      serialNumber: serialNumber ?? this.serialNumber,
      repairICode: repairICode ?? this.repairICode,
      trackedBy: trackedBy ?? this.trackedBy,
      repairDescription: repairDescription ?? this.repairDescription,
      quantity: quantity ?? this.quantity,
      rate: rate ?? this.rate,
      extended: extended ?? this.extended,
      repairInventoryId: repairInventoryId ?? this.repairInventoryId,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouseCode: warehouseCode ?? this.warehouseCode,
      warehouse: warehouse ?? this.warehouse,
      repairCostId: repairCostId ?? this.repairCostId,
      repairPartId: repairPartId ?? this.repairPartId,
      itemOrder: itemOrder ?? this.itemOrder,
      notes: notes ?? this.notes,
      recType: recType ?? this.recType,
      recTypeDisplay: recTypeDisplay ?? this.recTypeDisplay,
      consignorId: consignorId ?? this.consignorId,
      consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
      inventoryId: inventoryId ?? this.inventoryId,
      iCode: iCode ?? this.iCode,
      description: description ?? this.description,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}