Files
pipelines/app/lib/features/updates/app_updates_stub.dart
T

14 lines
391 B
Dart

import 'app_updates.dart';
bool get supported => false;
Future<int?> installedVersionCode() async => null;
Future<AppUpdate> fetchLatest(Uri base) async =>
throw StateError('Updates are installed from a phone.');
Future<void> downloadAndInstall(
AppUpdate update, {
void Function(double progress)? onProgress,
}) async => throw StateError('Updates are installed from a phone.');