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