parseAppcastItemsFromFile method

Future<List<AppcastItem>?> parseAppcastItemsFromFile(
  1. File file
)

Load the Appcast from file.

Implementation

Future<List<AppcastItem>?> parseAppcastItemsFromFile(File file) async {
  await _getDeviceInfo();
  final contents = await file.readAsString();
  return parseItemsFromXMLString(contents);
}