The Webfeed Flutter package for Appeto SDK.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

14 lignes
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. }