Skip to content

Commit

Permalink
add trackers removed to main data dto
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaan committed May 20, 2024
1 parent b7a860e commit 262ab0e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/v2/sync/dto/main_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ class MainData {
this.tagsRemoved,
this.serverState,
this.trackers,
this.trackersRemoved,
});

factory MainData.fromJson(Map<String, dynamic> json) =>
Expand Down Expand Up @@ -62,5 +63,8 @@ class MainData {
@JsonKey(name: 'trackers')
final Map<String, List<String>>? trackers;

@JsonKey(name: 'trackers_removed')
final List<String>? trackersRemoved;

Map<String, dynamic> toJson() => _$MainDataToJson(this);
}
4 changes: 4 additions & 0 deletions lib/src/v2/sync/dto/main_data.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 262ab0e

Please sign in to comment.