copyWith method
WebApiModulesHomeControlsContainerWarehouseContainerWarehouse
copyWith({
- String? inventoryId,
- String? warehouseId,
- String? warehouseCode,
- String? warehouse,
- double? dailyRate,
- double? weeklyRate,
- double? monthlyRate,
- int? quantity,
- int? quantityReady,
- int? quantityIncomplete,
- int? warehouseOrderBy,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsContainerWarehouseContainerWarehouse copyWith(
{String? inventoryId,
String? warehouseId,
String? warehouseCode,
String? warehouse,
double? dailyRate,
double? weeklyRate,
double? monthlyRate,
int? quantity,
int? quantityReady,
int? quantityIncomplete,
int? warehouseOrderBy,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsContainerWarehouseContainerWarehouse(
inventoryId: inventoryId ?? this.inventoryId,
warehouseId: warehouseId ?? this.warehouseId,
warehouseCode: warehouseCode ?? this.warehouseCode,
warehouse: warehouse ?? this.warehouse,
dailyRate: dailyRate ?? this.dailyRate,
weeklyRate: weeklyRate ?? this.weeklyRate,
monthlyRate: monthlyRate ?? this.monthlyRate,
quantity: quantity ?? this.quantity,
quantityReady: quantityReady ?? this.quantityReady,
quantityIncomplete: quantityIncomplete ?? this.quantityIncomplete,
warehouseOrderBy: warehouseOrderBy ?? this.warehouseOrderBy,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}