Skip to content

Commit

Permalink
Update generated files
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Nov 18, 2024
1 parent 645dd24 commit 5ed65d1
Show file tree
Hide file tree
Showing 11 changed files with 119 additions and 70 deletions.
60 changes: 35 additions & 25 deletions api/lib/models/event/item/model.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -473,24 +473,34 @@ class _$FixedCalendarItemImpl extends FixedCalendarItem {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$FixedCalendarItemImpl &&
(identical(other.id, id) || other.id == id) &&
const DeepCollectionEquality().equals(other.id, id) &&
(identical(other.name, name) || other.name == name) &&
(identical(other.description, description) ||
other.description == description) &&
(identical(other.location, location) ||
other.location == location) &&
(identical(other.groupId, groupId) || other.groupId == groupId) &&
(identical(other.placeId, placeId) || other.placeId == placeId) &&
(identical(other.eventId, eventId) || other.eventId == eventId) &&
const DeepCollectionEquality().equals(other.groupId, groupId) &&
const DeepCollectionEquality().equals(other.placeId, placeId) &&
const DeepCollectionEquality().equals(other.eventId, eventId) &&
(identical(other.status, status) || other.status == status) &&
(identical(other.start, start) || other.start == start) &&
(identical(other.end, end) || other.end == end));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, id, name, description, location,
groupId, placeId, eventId, status, start, end);
int get hashCode => Object.hash(
runtimeType,
const DeepCollectionEquality().hash(id),
name,
description,
location,
const DeepCollectionEquality().hash(groupId),
const DeepCollectionEquality().hash(placeId),
const DeepCollectionEquality().hash(eventId),
status,
start,
end);

/// Create a copy of CalendarItem
/// with the given fields replaced by the non-null parameter values.
Expand Down Expand Up @@ -980,15 +990,15 @@ class _$RepeatingCalendarItemImpl extends RepeatingCalendarItem {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$RepeatingCalendarItemImpl &&
(identical(other.id, id) || other.id == id) &&
const DeepCollectionEquality().equals(other.id, id) &&
(identical(other.name, name) || other.name == name) &&
(identical(other.description, description) ||
other.description == description) &&
(identical(other.location, location) ||
other.location == location) &&
(identical(other.groupId, groupId) || other.groupId == groupId) &&
(identical(other.placeId, placeId) || other.placeId == placeId) &&
(identical(other.eventId, eventId) || other.eventId == eventId) &&
const DeepCollectionEquality().equals(other.groupId, groupId) &&
const DeepCollectionEquality().equals(other.placeId, placeId) &&
const DeepCollectionEquality().equals(other.eventId, eventId) &&
(identical(other.status, status) || other.status == status) &&
(identical(other.start, start) || other.start == start) &&
(identical(other.end, end) || other.end == end) &&
Expand All @@ -1008,13 +1018,13 @@ class _$RepeatingCalendarItemImpl extends RepeatingCalendarItem {
@override
int get hashCode => Object.hash(
runtimeType,
id,
const DeepCollectionEquality().hash(id),
name,
description,
location,
groupId,
placeId,
eventId,
const DeepCollectionEquality().hash(groupId),
const DeepCollectionEquality().hash(placeId),
const DeepCollectionEquality().hash(eventId),
status,
start,
end,
Expand Down Expand Up @@ -1534,20 +1544,20 @@ class _$AutoCalendarItemImpl extends AutoCalendarItem {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$AutoCalendarItemImpl &&
(identical(other.id, id) || other.id == id) &&
const DeepCollectionEquality().equals(other.id, id) &&
(identical(other.name, name) || other.name == name) &&
(identical(other.description, description) ||
other.description == description) &&
(identical(other.location, location) ||
other.location == location) &&
(identical(other.groupId, groupId) || other.groupId == groupId) &&
(identical(other.placeId, placeId) || other.placeId == placeId) &&
(identical(other.eventId, eventId) || other.eventId == eventId) &&
const DeepCollectionEquality().equals(other.groupId, groupId) &&
const DeepCollectionEquality().equals(other.placeId, placeId) &&
const DeepCollectionEquality().equals(other.eventId, eventId) &&
(identical(other.status, status) || other.status == status) &&
(identical(other.start, start) || other.start == start) &&
(identical(other.end, end) || other.end == end) &&
(identical(other.autoGroupId, autoGroupId) ||
other.autoGroupId == autoGroupId) &&
const DeepCollectionEquality()
.equals(other.autoGroupId, autoGroupId) &&
(identical(other.searchStart, searchStart) ||
other.searchStart == searchStart) &&
(identical(other.autoDuration, autoDuration) ||
Expand All @@ -1558,17 +1568,17 @@ class _$AutoCalendarItemImpl extends AutoCalendarItem {
@override
int get hashCode => Object.hash(
runtimeType,
id,
const DeepCollectionEquality().hash(id),
name,
description,
location,
groupId,
placeId,
eventId,
const DeepCollectionEquality().hash(groupId),
const DeepCollectionEquality().hash(placeId),
const DeepCollectionEquality().hash(eventId),
status,
start,
end,
autoGroupId,
const DeepCollectionEquality().hash(autoGroupId),
searchStart,
autoDuration);

Expand Down
22 changes: 15 additions & 7 deletions api/lib/models/event/model.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,10 @@ class _$EventImpl extends _Event {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$EventImpl &&
(identical(other.id, id) || other.id == id) &&
(identical(other.parentId, parentId) ||
other.parentId == parentId) &&
(identical(other.groupId, groupId) || other.groupId == groupId) &&
(identical(other.placeId, placeId) || other.placeId == placeId) &&
const DeepCollectionEquality().equals(other.id, id) &&
const DeepCollectionEquality().equals(other.parentId, parentId) &&
const DeepCollectionEquality().equals(other.groupId, groupId) &&
const DeepCollectionEquality().equals(other.placeId, placeId) &&
(identical(other.blocked, blocked) || other.blocked == blocked) &&
(identical(other.name, name) || other.name == name) &&
(identical(other.description, description) ||
Expand All @@ -280,8 +279,17 @@ class _$EventImpl extends _Event {

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, id, parentId, groupId, placeId,
blocked, name, description, location, extra);
int get hashCode => Object.hash(
runtimeType,
const DeepCollectionEquality().hash(id),
const DeepCollectionEquality().hash(parentId),
const DeepCollectionEquality().hash(groupId),
const DeepCollectionEquality().hash(placeId),
blocked,
name,
description,
location,
extra);

/// Create a copy of Event
/// with the given fields replaced by the non-null parameter values.
Expand Down
12 changes: 8 additions & 4 deletions api/lib/models/group/model.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -178,17 +178,21 @@ class _$GroupImpl extends _Group {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$GroupImpl &&
(identical(other.id, id) || other.id == id) &&
const DeepCollectionEquality().equals(other.id, id) &&
(identical(other.name, name) || other.name == name) &&
(identical(other.description, description) ||
other.description == description) &&
(identical(other.parentId, parentId) ||
other.parentId == parentId));
const DeepCollectionEquality().equals(other.parentId, parentId));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, id, name, description, parentId);
int get hashCode => Object.hash(
runtimeType,
const DeepCollectionEquality().hash(id),
name,
description,
const DeepCollectionEquality().hash(parentId));

/// Create a copy of Group
/// with the given fields replaced by the non-null parameter values.
Expand Down
5 changes: 3 additions & 2 deletions api/lib/models/label/model.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class _$LabelImpl extends _Label {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$LabelImpl &&
(identical(other.id, id) || other.id == id) &&
const DeepCollectionEquality().equals(other.id, id) &&
(identical(other.name, name) || other.name == name) &&
(identical(other.description, description) ||
other.description == description) &&
Expand All @@ -186,7 +186,8 @@ class _$LabelImpl extends _Label {

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, id, name, description, color);
int get hashCode => Object.hash(runtimeType,
const DeepCollectionEquality().hash(id), name, description, color);

/// Create a copy of Label
/// with the given fields replaced by the non-null parameter values.
Expand Down
25 changes: 16 additions & 9 deletions api/lib/models/note/model.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -156,15 +156,16 @@ class _$NotebookImpl extends _Notebook {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$NotebookImpl &&
(identical(other.id, id) || other.id == id) &&
const DeepCollectionEquality().equals(other.id, id) &&
(identical(other.name, name) || other.name == name) &&
(identical(other.description, description) ||
other.description == description));
}

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, id, name, description);
int get hashCode => Object.hash(
runtimeType, const DeepCollectionEquality().hash(id), name, description);

/// Create a copy of Notebook
/// with the given fields replaced by the non-null parameter values.
Expand Down Expand Up @@ -422,11 +423,10 @@ class _$NoteImpl extends _Note {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$NoteImpl &&
(identical(other.notebookId, notebookId) ||
other.notebookId == notebookId) &&
(identical(other.id, id) || other.id == id) &&
(identical(other.parentId, parentId) ||
other.parentId == parentId) &&
const DeepCollectionEquality()
.equals(other.notebookId, notebookId) &&
const DeepCollectionEquality().equals(other.id, id) &&
const DeepCollectionEquality().equals(other.parentId, parentId) &&
(identical(other.name, name) || other.name == name) &&
(identical(other.description, description) ||
other.description == description) &&
Expand All @@ -437,8 +437,15 @@ class _$NoteImpl extends _Note {

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, notebookId, id, parentId, name,
description, status, priority);
int get hashCode => Object.hash(
runtimeType,
const DeepCollectionEquality().hash(notebookId),
const DeepCollectionEquality().hash(id),
const DeepCollectionEquality().hash(parentId),
name,
description,
status,
priority);

/// Create a copy of Note
/// with the given fields replaced by the non-null parameter values.
Expand Down
5 changes: 3 additions & 2 deletions api/lib/models/place/model.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ class _$PlaceImpl extends _Place {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$PlaceImpl &&
(identical(other.id, id) || other.id == id) &&
const DeepCollectionEquality().equals(other.id, id) &&
(identical(other.name, name) || other.name == name) &&
(identical(other.description, description) ||
other.description == description) &&
Expand All @@ -186,7 +186,8 @@ class _$PlaceImpl extends _Place {

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, id, name, description, address);
int get hashCode => Object.hash(runtimeType,
const DeepCollectionEquality().hash(id), name, description, address);

/// Create a copy of Place
/// with the given fields replaced by the non-null parameter values.
Expand Down
15 changes: 11 additions & 4 deletions api/lib/models/user/model.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ class _$UserImpl extends _User {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$UserImpl &&
(identical(other.id, id) || other.id == id) &&
(identical(other.groupId, groupId) || other.groupId == groupId) &&
const DeepCollectionEquality().equals(other.id, id) &&
const DeepCollectionEquality().equals(other.groupId, groupId) &&
(identical(other.name, name) || other.name == name) &&
(identical(other.email, email) || other.email == email) &&
(identical(other.description, description) ||
Expand All @@ -241,8 +241,15 @@ class _$UserImpl extends _User {

@JsonKey(includeFromJson: false, includeToJson: false)
@override
int get hashCode => Object.hash(runtimeType, id, groupId, name, email,
description, phone, const DeepCollectionEquality().hash(image));
int get hashCode => Object.hash(
runtimeType,
const DeepCollectionEquality().hash(id),
const DeepCollectionEquality().hash(groupId),
name,
email,
description,
phone,
const DeepCollectionEquality().hash(image));

/// Create a copy of User
/// with the given fields replaced by the non-null parameter values.
Expand Down
12 changes: 6 additions & 6 deletions app/lib/pages/calendar/filter.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ class _$CalendarFilterImpl extends _CalendarFilter {
const DeepCollectionEquality()
.equals(other._hiddenStatuses, _hiddenStatuses) &&
(identical(other.source, source) || other.source == source) &&
(identical(other.group, group) || other.group == group) &&
(identical(other.event, event) || other.event == event) &&
(identical(other.place, place) || other.place == place) &&
const DeepCollectionEquality().equals(other.group, group) &&
const DeepCollectionEquality().equals(other.event, event) &&
const DeepCollectionEquality().equals(other.place, place) &&
(identical(other.past, past) || other.past == past));
}

Expand All @@ -223,9 +223,9 @@ class _$CalendarFilterImpl extends _CalendarFilter {
runtimeType,
const DeepCollectionEquality().hash(_hiddenStatuses),
source,
group,
event,
place,
const DeepCollectionEquality().hash(group),
const DeepCollectionEquality().hash(event),
const DeepCollectionEquality().hash(place),
past);

/// Create a copy of CalendarFilter
Expand Down
10 changes: 7 additions & 3 deletions app/lib/pages/events/filter.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,16 @@ class _$EventFilterImpl extends _EventFilter {
(other.runtimeType == runtimeType &&
other is _$EventFilterImpl &&
(identical(other.source, source) || other.source == source) &&
(identical(other.group, group) || other.group == group) &&
(identical(other.place, place) || other.place == place));
const DeepCollectionEquality().equals(other.group, group) &&
const DeepCollectionEquality().equals(other.place, place));
}

@override
int get hashCode => Object.hash(runtimeType, source, group, place);
int get hashCode => Object.hash(
runtimeType,
source,
const DeepCollectionEquality().hash(group),
const DeepCollectionEquality().hash(place));

/// Create a copy of EventFilter
/// with the given fields replaced by the non-null parameter values.
Expand Down
18 changes: 12 additions & 6 deletions app/lib/pages/notes/filter.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -225,16 +225,22 @@ class _$NoteFilterImpl extends _NoteFilter {
other.showTodo == showTodo) &&
(identical(other.showNote, showNote) ||
other.showNote == showNote) &&
(identical(other.selectedLabel, selectedLabel) ||
other.selectedLabel == selectedLabel) &&
(identical(other.notebook, notebook) ||
other.notebook == notebook) &&
const DeepCollectionEquality()
.equals(other.selectedLabel, selectedLabel) &&
const DeepCollectionEquality().equals(other.notebook, notebook) &&
(identical(other.source, source) || other.source == source));
}

@override
int get hashCode => Object.hash(runtimeType, showDone, showInProgress,
showTodo, showNote, selectedLabel, notebook, source);
int get hashCode => Object.hash(
runtimeType,
showDone,
showInProgress,
showTodo,
showNote,
const DeepCollectionEquality().hash(selectedLabel),
const DeepCollectionEquality().hash(notebook),
source);

/// Create a copy of NoteFilter
/// with the given fields replaced by the non-null parameter values.
Expand Down
Loading

0 comments on commit 5ed65d1

Please sign in to comment.