list method
Implementation
Future<Paginated<List<Article>>> list({
PaginatedPagesNext? next
}) async {
return client.get(path,
query: {
...next?.query ?? {},
},
decoder: (json) => Paginated<List<Article>>.fromJson(json, (json) => ListOfArticles.fromJson(json as List))
);
}