listRecords method
Implementation
Future<core.XRPCResponse<Records>> listRecords({
required String repo,
required core.NSID collection,
int? limit,
bool? reverse,
String? rkeyStart,
String? rkeyEnd,
String? cursor,
Map<String, String>? headers,
}) async =>
await _ctx.get(
ns.comAtprotoRepoListRecords,
headers: headers,
parameters: {
'repo': repo,
'collection': collection,
'limit': limit,
'reverse': reverse,
'rkeyStart': rkeyStart,
'rkeyEnd': rkeyEnd,
'cursor': cursor,
},
to: Records.fromJson,
);