Files
plezy/lib/models/simkl/simkl_search_result.g.dart
T
edde746 a33c423985 refactor(models): stop parsing wire fields and enum members nothing consumes
Parse-only DTO surface deleted across trackers and catalog models: quality-preset storageKey/fromStorage round-trips (persistence uses EnumPref on .name), PlexHome's placeholder identity fields (id stays — deriveHomeSecret reads it), SeerrUser.email/avatar, SimklSearchResult.endpointType, SimklDetail.type, SimklAllItemsEntry.status/isShow, TraktCatalogEntry.rank, CatalogItem.relevance, and the never-produced CatalogRankScope.favorited/.seasonal members with their label arms. Tracker root: OAuthProxyStart.expiresIn, TrackerSession.scope/isExpired, copyWith slimmed to its one real parameter, TrackerHttpClient.service. TrackerAccountStore.service and the trackerAccountStore() alias are live (persisted-blob validation, callers) and stay.
2026-08-17 19:02:24 +02:00

26 lines
1007 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'simkl_search_result.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
SimklSearchResult _$SimklSearchResultFromJson(Map<String, dynamic> json) =>
SimklSearchResult(
title: json['title'] as String?,
titleEn: json['title_en'] as String?,
titleRomaji: json['title_romaji'] as String?,
allTitles: flexibleStringList(json['all_titles']),
url: json['url'] as String?,
year: flexibleInt(json['year']),
type: json['type'] as String?,
poster: json['poster'] as String?,
ids: SimklIds.fromJson(json['ids'] as Map<String, dynamic>),
episodeCount: flexibleInt(json['ep_count']),
status: json['status'] as String?,
ratings: json['ratings'] == null
? null
: SimklRatings.fromJson(json['ratings'] as Map<String, dynamic>),
);