copyWith method

WebApiModulesInventoryInventorySearchInventorySearch copyWith({
  1. String? sessionId,
  2. String? inventoryId,
  3. String? warehouseId,
  4. int? id,
  5. String? lineage,
  6. String? packageItemId,
  7. double? quantity,
  8. DateTime? fromDate,
  9. DateTime? toDate,
  10. double? quantityAvailable,
  11. DateTime? conflictDate,
  12. String? availabilityState,
  13. double? quantityAvailableRegion,
  14. DateTime? conflictDateRegion,
  15. String? availabilityStateRegion,
  16. double? quantityAvailableAllWarehouses,
  17. DateTime? conflictDateAllWarehouses,
  18. String? availabilityStateAllWarehouses,
  19. bool? printableNote,
  20. String? noteId,
  21. double? totalQuantityInSession,
  22. String? auditNote,
  23. String? recordTitle,
  24. dynamic urlIdentifier,
  25. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  26. List<FwStandardDataFwCustomValue>? custom,
  27. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  28. FwStandardBusinessLogicFwBusinessLogic? original,
  29. List<FwStandardDataFwTranslatedValue>? translation,
  30. bool? hasImport,
  31. bool? hasDocuments,
  32. String? createdByUserId,
  33. String? createdByUserName,
  34. String? createdDateTime,
  35. String? modifiedByUserId,
  36. String? modifiedByUserName,
  37. String? modifiedDateTime,
})

Implementation

WebApiModulesInventoryInventorySearchInventorySearch copyWith({
  String? sessionId,
  String? inventoryId,
  String? warehouseId,
  int? id,
  String? lineage,
  String? packageItemId,
  double? quantity,
  DateTime? fromDate,
  DateTime? toDate,
  double? quantityAvailable,
  DateTime? conflictDate,
  String? availabilityState,
  double? quantityAvailableRegion,
  DateTime? conflictDateRegion,
  String? availabilityStateRegion,
  double? quantityAvailableAllWarehouses,
  DateTime? conflictDateAllWarehouses,
  String? availabilityStateAllWarehouses,
  bool? printableNote,
  String? noteId,
  double? totalQuantityInSession,
  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 WebApiModulesInventoryInventorySearchInventorySearch(
    sessionId: sessionId ?? this.sessionId,
    inventoryId: inventoryId ?? this.inventoryId,
    warehouseId: warehouseId ?? this.warehouseId,
    id: id ?? this.id,
    lineage: lineage ?? this.lineage,
    packageItemId: packageItemId ?? this.packageItemId,
    quantity: quantity ?? this.quantity,
    fromDate: fromDate ?? this.fromDate,
    toDate: toDate ?? this.toDate,
    quantityAvailable: quantityAvailable ?? this.quantityAvailable,
    conflictDate: conflictDate ?? this.conflictDate,
    availabilityState: availabilityState ?? this.availabilityState,
    quantityAvailableRegion:
        quantityAvailableRegion ?? this.quantityAvailableRegion,
    conflictDateRegion: conflictDateRegion ?? this.conflictDateRegion,
    availabilityStateRegion:
        availabilityStateRegion ?? this.availabilityStateRegion,
    quantityAvailableAllWarehouses:
        quantityAvailableAllWarehouses ?? this.quantityAvailableAllWarehouses,
    conflictDateAllWarehouses:
        conflictDateAllWarehouses ?? this.conflictDateAllWarehouses,
    availabilityStateAllWarehouses:
        availabilityStateAllWarehouses ?? this.availabilityStateAllWarehouses,
    printableNote: printableNote ?? this.printableNote,
    noteId: noteId ?? this.noteId,
    totalQuantityInSession:
        totalQuantityInSession ?? this.totalQuantityInSession,
    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,
  );
}