Future supportsParallelDownload(String url) async => false; Future exists(String path) async => false; Future size(String path) async => 0; Future delete(String path) async => throw UnsupportedError('Native files are unavailable in the browser.'); Future>> recoverPackages() async => []; Future> preparePackage({ required String id, required String url, required String type, required Map metadata, required int parallel, }) async => throw UnsupportedError('Offline packages require the Android app.'); Future runPackage( String id, void Function(Map) onProgress, ) async => throw UnsupportedError('Offline packages require the Android app.'); Future pausePackage(String id, {bool cancel = false}) async => throw UnsupportedError('Offline packages require the Android app.'); Future deletePackage(String id) async => throw UnsupportedError('Offline packages require the Android app.'); Future exportPackage(String id) async => throw UnsupportedError('Offline packages require the Android app.'); Future validatePackage(String id) async => false; Future> loadPackage(String id) async => throw UnsupportedError('Offline packages require the Android app.');