copyWith method

Implementation

WebApiModulesSettingsInventorySettingsStorefrontInventoryDepartment copyWith({
  String? departmentId,
  String? department,
  bool? availableOnline,
  List<WebApiModulesSettingsInventorySettingsStorefrontInventoryCategory>?
  categories,
}) {
  return WebApiModulesSettingsInventorySettingsStorefrontInventoryDepartment(
    departmentId: departmentId ?? this.departmentId,
    department: department ?? this.department,
    availableOnline: availableOnline ?? this.availableOnline,
    categories: categories ?? this.categories,
  );
}