importRepo method
Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.
https://atprotodart.com/docs/lexicons/com/atproto/repo/importRepo
Implementation
Future<XRPCResponse<EmptyData>> importRepo({
required Uint8List bytes,
Map<String, String>? $unknown,
Map<String, String>? $headers,
PostClient? $client,
}) async =>
await _ctx.post<EmptyData>(
ns.comAtprotoRepoImportRepo,
headers: $headers,
body: bytes,
client: $client,
);