INNER CODE UNIT · Dart
Appcast
larryaasen/upgrader · lib/src/appcast.dart:20
class Appcast {
/// Provide an HTTP Client that can be replaced during testing.
final http.Client client;
/// Provide the HTTP headers used by [client].
final Map<String, String>? clientHeaders;
/// Provide [UpgraderOS] that can be replaced during testing.
final UpgraderOS upgraderOS;
/// The operating system version.
final Version osVersion;
/// The current app version, used to check [AppcastItem.minimumUpdateVersion].
final Version? currentAppVersion;
Appcast(
{http.Client? client,