getRecord method
Implementation
Future<core.XRPCResponse<Record>> getRecord({
required core.AtUri uri,
String? cid,
Map<String, String>? headers,
}) async =>
await _ctx.get(
ns.comAtprotoRepoGetRecord,
headers: headers,
parameters: {
'repo': uri.hostname,
'collection': uri.collection,
'rkey': uri.rkey,
'cid': cid,
},
to: Record.fromJson,
);