chore: clear analyzer hints
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user