getRecord method
Get details about a record.
https://atprotodart.com/docs/lexicons/tools/ozone/moderation/getRecord
Implementation
Future<XRPCResponse<RecordViewDetail>> getRecord({
required AtUri uri,
String? cid,
Map<String, String>? $unknown,
Map<String, String>? $headers,
GetClient? $client,
}) async =>
await _ctx.get<RecordViewDetail>(
ns.toolsOzoneModerationGetRecord,
headers: $headers,
parameters: {
'uri': uri.toString(),
if (cid != null) 'cid': cid,
...?$unknown,
},
to: const RecordViewDetailConverter().fromJson,
client: $client,
);