copyWith method

WebApiModulesUtilitiesInventoryMergeInventoryMerge copyWith({
  1. int? inventoryMergeId,
  2. String? sessionId,
  3. String? fromInventoryId,
  4. String? fromICode,
  5. String? fromDescription,
  6. String? toInventoryId,
  7. String? toICode,
  8. String? toDescription,
  9. String? warehouseId,
  10. String? warehouse,
  11. String? dateStamp,
  12. String? auditNote,
  13. String? recordTitle,
  14. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  15. List<FwStandardDataFwCustomValue>? custom,
  16. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  17. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesUtilitiesInventoryMergeInventoryMerge copyWith(
    {int? inventoryMergeId,
    String? sessionId,
    String? fromInventoryId,
    String? fromICode,
    String? fromDescription,
    String? toInventoryId,
    String? toICode,
    String? toDescription,
    String? warehouseId,
    String? warehouse,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
    List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesUtilitiesInventoryMergeInventoryMerge(
      inventoryMergeId: inventoryMergeId ?? this.inventoryMergeId,
      sessionId: sessionId ?? this.sessionId,
      fromInventoryId: fromInventoryId ?? this.fromInventoryId,
      fromICode: fromICode ?? this.fromICode,
      fromDescription: fromDescription ?? this.fromDescription,
      toInventoryId: toInventoryId ?? this.toInventoryId,
      toICode: toICode ?? this.toICode,
      toDescription: toDescription ?? this.toDescription,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouse: warehouse ?? this.warehouse,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}