FlutterNewsService class

Constructors

FlutterNewsService()

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

getAllSources({String apiKey, Category category, String countryCode, String language}) Future<List<Sources>>
getArticlesByQuery({String apiKey, String query, DateTime from, DateTime to, int page, String languageCode, SortBy sortBy}) Future<List<Article>>
getArticlesByQuerySources({String apiKey, String query, DateTime from, DateTime to, String sources, int page, String languageCode, SortBy sortBy}) Future<List<Article>>
getArticlesTopHeadlines({String apiKey, String query, Category category, String countryCode, int page, SortBy sortBy}) Future<List<Article>>
getArticlesTopHeadlinesBySources({String apiKey, String query, Category category, String countryCode, String sources, int page, SortBy sortBy}) Future<List<Article>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited