refactor: move the Plex switch-token parser in with the Plex models

user_switch_response.dart was left holding a single 13-line function after
UserSwitchResponse's decorative fields were dropped, so the filename no
longer described its contents and it sat at lib/models/ root while every
other Plex model lives in lib/models/plex/.

Renamed to lib/models/plex/plex_switch_response.dart, with the test moved
alongside the other plex_*_test.dart files. The parser stays public so the
#1488 drift characterization tests keep exercising it directly.
This commit is contained in:
edde746
2026-07-26 06:09:50 +02:00
parent eb3ed45af1
commit 13179f08cd
3 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import '../exceptions/media_server_exceptions.dart';
import '../models/plex/plex_user_profile.dart';
import '../models/plex/plex_home.dart';
import '../models/plex/plex_home_user.dart';
import '../models/user_switch_response.dart';
import '../models/plex/plex_switch_response.dart';
import '../utils/app_logger.dart';
import '../utils/device_identity.dart';
import '../utils/endpoint_race.dart';