The Webfeed Flutter package for Appeto SDK.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
378 B

  1. import 'package:http/http.dart' as http;
  2. import 'package:webfeed/domain/rss_feed.dart';
  3. void main() {
  4. var client = new http.Client();
  5. client.get("https://developer.apple.com/news/releases/rss/releases.rss").then((response) {
  6. return response.body;
  7. }).then((bodyString) {
  8. var channel = new RssFeed.parse(bodyString);
  9. print(channel);
  10. return channel;
  11. });
  12. }