copyWith method

WebApiModulesHomeServiceOrderItemServiceOrderItem 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. dynamic urlIdentifier,
  30. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  31. List<FwStandardDataFwCustomValue>? custom,
  32. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  33. FwStandardBusinessLogicFwBusinessLogic? original,
  34. List<FwStandardDataFwTranslatedValue>? translation,
  35. bool? hasImport,
  36. bool? hasDocuments,
  37. String? createdByUserId,
  38. String? createdByUserName,
  39. String? createdDateTime,
  40. String? modifiedByUserId,
  41. String? modifiedByUserName,
  42. String? modifiedDateTime,
})

Implementation

WebApiModulesHomeServiceOrderItemServiceOrderItem 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,
  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 WebApiModulesHomeServiceOrderItemServiceOrderItem(
    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,
    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,
  );
}