copyWith method

WebApiModulesHomeControlsContainerWarehouseContainerWarehouse copyWith({
  1. String? inventoryId,
  2. String? warehouseId,
  3. String? warehouseCode,
  4. String? warehouse,
  5. double? dailyRate,
  6. double? weeklyRate,
  7. double? monthlyRate,
  8. int? quantity,
  9. int? quantityReady,
  10. int? quantityIncomplete,
  11. int? warehouseOrderBy,
  12. String? auditNote,
  13. String? recordTitle,
  14. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  15. List<FwStandardDataFwCustomValue>? custom,
  16. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  17. 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);
}