getBlocks method
Implementation
Future<core.XRPCResponse<RepoBlocks>> getBlocks({
required String did,
required List<String> commitCids,
Map<String, String>? headers,
}) async =>
await _ctx.get(
ns.comAtprotoSyncGetBlocks,
headers: headers,
parameters: {
'did': did,
'cids': commitCids,
},
adaptor: toRepoBlocks,
to: RepoBlocks.fromJson,
);