RepoService class final

Represents com.atproto.repo.* service.

Available extensions

Constructors

RepoService(ServiceContext _ctx)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

applyWrites({required List<BatchAction> actions, bool? validate, String? swapCommitCid}) Future<XRPCResponse<EmptyData>>
https://atprotodart.com/docs/lexicons/com/atproto/repo/applyWrites
createRecord({required NSID collection, required Map<String, dynamic> record, String? rkey, bool? validate, String? swapRecordCid, String? swapCommitCid}) Future<XRPCResponse<StrongRef>>
https://atprotodart.com/docs/lexicons/com/atproto/repo/createRecord
deleteRecord({required AtUri uri, String? swapRecordCid, String? swapCommitCid}) Future<XRPCResponse<EmptyData>>
https://atprotodart.com/docs/lexicons/com/atproto/repo/deleteRecord
describeRepo({required String repo, Map<String, String>? headers}) Future<XRPCResponse<RepoInfo>>
https://atprotodart.com/docs/lexicons/com/atproto/repo/describeRepo
getRecord({required AtUri uri, String? cid, Map<String, String>? headers}) Future<XRPCResponse<Record>>
https://atprotodart.com/docs/lexicons/com/atproto/repo/getRecord
importRepo(Uint8List car) Future<XRPCResponse<EmptyData>>
https://atprotodart.com/docs/lexicons/com/atproto/repo/importRepo
listMissingBlobs({int? limit, String? cursor, Map<String, String>? headers}) Future<XRPCResponse<MissingBlobs>>
https://atprotodart.com/docs/lexicons/com/atproto/repo/listMissingBlobs
listRecords({required String repo, required NSID collection, int? limit, bool? reverse, String? rkeyStart, String? rkeyEnd, String? cursor, Map<String, String>? headers}) Future<XRPCResponse<Records>>
https://atprotodart.com/docs/lexicons/com/atproto/repo/listRecords
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putRecord({required AtUri uri, required Map<String, dynamic> record, bool? validate, String? swapRecordCid, String? swapCommitCid}) Future<XRPCResponse<StrongRef>>
https://atprotodart.com/docs/lexicons/com/atproto/repo/putRecord
toString() String
A string representation of this object.
inherited
uploadBlob(Uint8List bytes) Future<XRPCResponse<BlobData>>
https://atprotodart.com/docs/lexicons/com/atproto/repo/uploadBlob

Operators

operator ==(Object other) bool
The equality operator.
inherited