getRecord method
Get data blocks needed to prove the existence or non-existence of record in the current version of repo. Does not require auth.
https://atprotodart.com/docs/lexicons/com/atproto/sync/getRecord
Implementation
Future<XRPCResponse<Uint8List>> getRecord({
required String did,
required NSID collection,
required String rkey,
String? commit,
Map<String, String>? $unknown,
Map<String, String>? $headers,
GetClient? $client,
}) async =>
await _ctx.get<Uint8List>(
ns.comAtprotoSyncGetRecord,
headers: $headers,
parameters: {
'did': did,
'collection': collection.toString(),
'rkey': rkey,
if (commit != null) 'commit': commit,
...?$unknown,
},
client: $client,
);