Everything class
Everything
Search through millions of articles from over 30.000 large and small news sources and blogs. This includes breaking news as well as lesser articles. This endpoint suits article discovery and analysis, but can be used to retrieve articles for display, too.
You must include at least one query, source
, or domain
.
Constructors
-
Everything({String query, List<
String> sources, List<String> domains, DateTime from, DateTime to, String language, SortBy sortBy, int pageSize, int page })
Properties
-
domains
→ List<
String> -
final
- from → DateTime
-
final
- language → String
-
final
- page → int
-
final
- pageSize → int
-
final
-
parameters
→ Map<
String, dynamic> -
read-only
- query → String
-
final
- sortBy → SortBy
-
final
-
sources
→ List<
String> -
final
- to → DateTime
-
final
- url → String
-
read-only
- client → Client
-
final, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
request(
String apiKey) → Future< Map< String, dynamic> > -
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited