Files
plezy/lib/utils/platform_http_client_stub.dart
T

8 lines
384 B
Dart

import 'package:http/http.dart' as http;
/// Fallback stub — should never be called; actual implementation is selected
/// via conditional imports in `media_server_http_client.dart`.
http.Client createPlatformClient() => throw UnsupportedError('No platform HTTP client available');
http.Client createPlexApiClient() => throw UnsupportedError('No platform HTTP client available');