copyWith method

WebApiModulesUtilitiesInventoryMergeInventoryMerge copyWith({
  1. int? inventoryMergeId,
  2. String? sessionId,
  3. String? fromInventoryId,
  4. String? fromICode,
  5. String? fromDescription,
  6. String? fromAvailFor,
  7. String? toInventoryId,
  8. String? toICode,
  9. String? toDescription,
  10. String? toAvailFor,
  11. String? warehouseId,
  12. String? warehouse,
  13. String? dateStamp,
  14. String? auditNote,
  15. String? recordTitle,
  16. dynamic urlIdentifier,
  17. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  18. List<FwStandardDataFwCustomValue>? custom,
  19. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  20. FwStandardBusinessLogicFwBusinessLogic? original,
  21. List<FwStandardDataFwTranslatedValue>? translation,
  22. bool? hasImport,
  23. bool? hasDocuments,
  24. String? createdByUserId,
  25. String? createdByUserName,
  26. String? createdDateTime,
  27. String? modifiedByUserId,
  28. String? modifiedByUserName,
  29. String? modifiedDateTime,
})

Implementation

WebApiModulesUtilitiesInventoryMergeInventoryMerge copyWith({
  int? inventoryMergeId,
  String? sessionId,
  String? fromInventoryId,
  String? fromICode,
  String? fromDescription,
  String? fromAvailFor,
  String? toInventoryId,
  String? toICode,
  String? toDescription,
  String? toAvailFor,
  String? warehouseId,
  String? warehouse,
  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 WebApiModulesUtilitiesInventoryMergeInventoryMerge(
    inventoryMergeId: inventoryMergeId ?? this.inventoryMergeId,
    sessionId: sessionId ?? this.sessionId,
    fromInventoryId: fromInventoryId ?? this.fromInventoryId,
    fromICode: fromICode ?? this.fromICode,
    fromDescription: fromDescription ?? this.fromDescription,
    fromAvailFor: fromAvailFor ?? this.fromAvailFor,
    toInventoryId: toInventoryId ?? this.toInventoryId,
    toICode: toICode ?? this.toICode,
    toDescription: toDescription ?? this.toDescription,
    toAvailFor: toAvailFor ?? this.toAvailFor,
    warehouseId: warehouseId ?? this.warehouseId,
    warehouse: warehouse ?? this.warehouse,
    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,
  );
}