copyWith method

WebApiModulesInventoryContainerWarehouseContainerWarehouse 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. dynamic urlIdentifier,
  15. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  16. List<FwStandardDataFwCustomValue>? custom,
  17. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  18. FwStandardBusinessLogicFwBusinessLogic? original,
  19. List<FwStandardDataFwTranslatedValue>? translation,
  20. bool? hasImport,
  21. bool? hasDocuments,
  22. String? createdByUserId,
  23. String? createdByUserName,
  24. String? createdDateTime,
  25. String? modifiedByUserId,
  26. String? modifiedByUserName,
  27. String? modifiedDateTime,
})

Implementation

WebApiModulesInventoryContainerWarehouseContainerWarehouse 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,
  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 WebApiModulesInventoryContainerWarehouseContainerWarehouse(
    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,
    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,
  );
}