copyWith method

WebApiModulesSettingsWarehouseDepartmentWarehouseDepartment copyWith({
  1. String? warehouseId,
  2. String? departmentId,
  3. String? department,
  4. String? rentalBarCodeRangeId,
  5. String? rentalBarCodeRange,
  6. String? salesBarCodeRangeId,
  7. String? salesBarCodeRange,
  8. String? orderBy,
  9. String? requestToId,
  10. String? requestTo,
  11. String? dateStamp,
  12. String? auditNote,
  13. String? recordTitle,
  14. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  15. List<FwStandardDataFwCustomValue>? custom,
  16. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

Implementation

WebApiModulesSettingsWarehouseDepartmentWarehouseDepartment copyWith(
    {String? warehouseId,
    String? departmentId,
    String? department,
    String? rentalBarCodeRangeId,
    String? rentalBarCodeRange,
    String? salesBarCodeRangeId,
    String? salesBarCodeRange,
    String? orderBy,
    String? requestToId,
    String? requestTo,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  return WebApiModulesSettingsWarehouseDepartmentWarehouseDepartment(
      warehouseId: warehouseId ?? this.warehouseId,
      departmentId: departmentId ?? this.departmentId,
      department: department ?? this.department,
      rentalBarCodeRangeId: rentalBarCodeRangeId ?? this.rentalBarCodeRangeId,
      rentalBarCodeRange: rentalBarCodeRange ?? this.rentalBarCodeRange,
      salesBarCodeRangeId: salesBarCodeRangeId ?? this.salesBarCodeRangeId,
      salesBarCodeRange: salesBarCodeRange ?? this.salesBarCodeRange,
      orderBy: orderBy ?? this.orderBy,
      requestToId: requestToId ?? this.requestToId,
      requestTo: requestTo ?? this.requestTo,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}