Files
plezy/lib/models/plex/plex_home.g.dart
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

22 lines
682 B
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'plex_home.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
PlexHome _$PlexHomeFromJson(Map<String, dynamic> json) => PlexHome(
id: flexibleIntOrZero(json['id']),
users:
(json['users'] as List<dynamic>?)
?.map((e) => PlexHomeUser.fromJson(e as Map<String, dynamic>))
.toList() ??
[],
);
Map<String, dynamic> _$PlexHomeToJson(PlexHome instance) => <String, dynamic>{
'id': instance.id,
'users': instance.users.map((e) => e.toJson()).toList(),
};