Util class

Constructors

Util()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

buildEverythingUrl(String? query, String? queryInTitle, String? sources, String? domains, String? excludeDomains, DateTime? from, DateTime? to, String? language, String? sortBy, int? pageSize, int? page) → String
buildSourcesUrl(String path, String? category, String? language, String? country) → String
buildTopHeadlinesUrl(String? country, String? category, String? sources, String? query, int? pageSize, int? page) → String
call({required String apiKey, required String url, required String dataKey}) → Future
formatDate(DateTime dt) → String
sanitize(String value) → String