Search class Null safety

This class handles the searching. Taking the base URL we build any parameters that have been added before making a call to iTunes. The results are unpacked and stored as Item instances and wrapped in a SearchResult.



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
searchProvider SearchProvider
term String
Returns the search term.
timeout int
Connection timeout threshold in milliseconds
read / write
userAgent String
If this property is non-null, it will be prepended to the User Agent header.
read / write


charts({Country country = Country.UNITED_KINGDOM, int limit = 20, bool explicit = false, String genre = '', Map<String, dynamic> queryParams = const {}}) Future<SearchResult>
Fetches the list of top podcasts Optionally takes a limit and Country filter. Defaults to limit of 20 and the UK.
genres() List<String>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
Search iTunes using the term term. You can limit the results to podcasts available in a specific country by supplying a Country option. By default, searches will be based on keywords. Supply an Attribute value to search by a different attribute such as Author, genre etc.
toString() String
A string representation of this object.


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