searchTaggedSinglePage method
Future<Search>
searchTaggedSinglePage(
- Tag tag, {
- int page = 1,
- SearchSort sort = SearchSort.recent,
Returns single page of Search for books tagged with tag
.
Optionally you can provide positive page
number and sort
parameter.
Throws ArgumentError if page
is less than 1.
Throws ApiException if server responded with JSON error.
Throws ApiClientException if server responded with not a JSON.
Throws MapperException
if it is impossible to parse response into target
model.
Implementation
Future<Search> searchTaggedSinglePage(Tag tag, {
int page = 1,
SearchSort sort = SearchSort.recent,
}) => _searchSinglePage(SearchQueryTag(tag), page: page, sort: sort);