makeSkipUpdate method
Marks the currently available update as skipped for this controller.
Implementation
Future<void> makeSkipUpdate() async {
_skipUpdate = true;
final version = _activeDescriptor?.version;
if (version != null) {
_skippedVersionInMemory = version;
try {
await preferences?.skipVersion(version: version, channel: channel);
} on Object {
// Keep the in-memory skip even when the app-owned store is unavailable.
}
}
notifyListeners();
}