copyWith method
WebApiModulesHomeControlsInventorySearchPreviewInventorySearchPreview
copyWith({
- String? id,
- String? sessionId,
- String? parentId,
- String? grandParentId,
- String? inventoryId,
- String? warehouseId,
- double? quantity,
- String? note,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsInventorySearchPreviewInventorySearchPreview
copyWith(
{String? id,
String? sessionId,
String? parentId,
String? grandParentId,
String? inventoryId,
String? warehouseId,
double? quantity,
String? note,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsInventorySearchPreviewInventorySearchPreview(
id: id ?? this.id,
sessionId: sessionId ?? this.sessionId,
parentId: parentId ?? this.parentId,
grandParentId: grandParentId ?? this.grandParentId,
inventoryId: inventoryId ?? this.inventoryId,
warehouseId: warehouseId ?? this.warehouseId,
quantity: quantity ?? this.quantity,
note: note ?? this.note,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}