listRecords method
Implementation
Future<Tuple2> listRecords(String collection, String repo,
{int? limit, String? cursor, bool? reverse}) async {
http.Response res =
await api.get("com.atproto.server.listRecords", params: {
"collection": collection,
"repo": repo,
"limit": limit,
"cursor": cursor,
"reverse": reverse
}, headers: {
"Authorization": "Bearer ${api.session.accessJwt}"
});
return Tuple2<int, Map<String, dynamic>>(
res.statusCode, json.decode(res.body));
}