14 lines
391 B
Dart
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.');
|