chore: clear analyzer hints

This commit is contained in:
edde746
2026-05-02 02:34:26 +02:00
parent de6f8d6cb6
commit 0ac5f49e5e
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -1007,7 +1007,7 @@ MediaSourceInfo? plexMediaSourceInfoFromCacheJson(Map<String, dynamic> metadata,
final streams = walkStreams(
flexibleList(parts.first['Stream']),
const PlexFileInfoStreamReader(),
onMalformed: (error, _, __) => appLogger.d('Skipping malformed stream in cached metadata', error: error),
onMalformed: (error, _, _) => appLogger.d('Skipping malformed stream in cached metadata', error: error),
);
return MediaSourceInfo(
@@ -8,7 +8,7 @@ import 'anilist_session.dart';
/// server-side so the device never sees the fragment. The proxy handles both
/// state + client_secret; the device just gets the bearer token.
class AnilistAuthService extends OAuthProxyAuthServiceBase<AnilistSession> {
AnilistAuthService({OAuthProxyClient? proxy}) : super(proxy: proxy);
AnilistAuthService({super.proxy});
@override
String get service => 'anilist';
@@ -20,9 +20,7 @@ import 'mal_session.dart';
class MalAuthService extends OAuthProxyAuthServiceBase<MalSession> {
final http.Client _http;
MalAuthService({OAuthProxyClient? proxy, http.Client? httpClient})
: _http = httpClient ?? platform.createPlatformClient(),
super(proxy: proxy);
MalAuthService({super.proxy, http.Client? httpClient}) : _http = httpClient ?? platform.createPlatformClient();
@override
String get service => 'mal';