Appcast class
The Appcast class is used to download an Appcast, based on the Sparkle framework by Andy Matuschak. Documentation: https://sparkle-project.org/documentation/publishing/ An Appcast is an RSS feed with one channel that has a collection of items that each describe one app version.
Constructors
- Appcast({Client? client})
Properties
- client ↔ Client?
-
Provide an HTTP Client that can be replaced for mock testing.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
↔ List<
AppcastItem> ? -
The items in the Appcast.
getter/setter pair
- osVersionString ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bestItem(
) → AppcastItem? - Returns the latest item in the Appcast based on OS, OS version, and app version.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseAppcastItemsFromFile(
File file) → Future< List< AppcastItem> ?> -
Load the Appcast from
file
. -
parseAppcastItemsFromUri(
String appCastURL) → Future< List< AppcastItem> ?> -
Download the Appcast from
appCastURL
. -
parseItemsFromXMLString(
String xmlString) → List< AppcastItem> ? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited