fix(ci): regenerate Trakt catalog model

This commit is contained in:
edde746
2026-07-10 07:32:02 +02:00
parent 04daf89a20
commit 1261852514
+13 -8
View File
@@ -6,11 +6,16 @@ part of 'trakt_catalog_entry.dart';
// JsonSerializableGenerator
// **************************************************************************
TraktCatalogEntry _$TraktCatalogEntryFromJson(Map<String, dynamic> json) => TraktCatalogEntry(
rank: (json['rank'] as num?)?.toInt(),
listedAt: json['listed_at'] as String?,
type: json['type'] as String?,
watchers: (json['watchers'] as num?)?.toInt(),
movie: json['movie'] == null ? null : TraktCatalogMedia.fromJson(json['movie'] as Map<String, dynamic>),
show: json['show'] == null ? null : TraktCatalogMedia.fromJson(json['show'] as Map<String, dynamic>),
);
TraktCatalogEntry _$TraktCatalogEntryFromJson(Map<String, dynamic> json) =>
TraktCatalogEntry(
rank: (json['rank'] as num?)?.toInt(),
listedAt: json['listed_at'] as String?,
type: json['type'] as String?,
watchers: (json['watchers'] as num?)?.toInt(),
movie: json['movie'] == null
? null
: TraktCatalogMedia.fromJson(json['movie'] as Map<String, dynamic>),
show: json['show'] == null
? null
: TraktCatalogMedia.fromJson(json['show'] as Map<String, dynamic>),
);