getRecord method
Implementation
Future<core.XRPCResponse<RepoCommit>> getRecord({
required core.AtUri uri,
String? commitCid,
Map<String, String>? headers,
}) async =>
await _ctx.get(
ns.comAtprotoSyncGetRecord,
headers: headers,
parameters: {
'did': uri.hostname,
'collection': uri.collection,
'rkey': uri.rkey,
'commit': commitCid,
},
adaptor: toRepoCommit,
to: RepoCommit.fromJson,
);