Atproto class abstract

Implementers

Constructors

Atproto.new({required API api})

Properties

api API
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionAPI SessionAPI
final

Methods

createAccount(String email, String handle, String password, {String? did, String? inviteCode, String? recoveryKey}) Future<Tuple2>
createAppPassword(String name) Future<Tuple2>
createRecord(String repo, String collection, Map<String, dynamic> record, {bool? validate, String? rkey, String? swapCommit}) Future<Tuple2>
createReport(String reasonType, Map<String, dynamic> subject, {String? reason}) Future<Tuple2>
createSession(String identifier, String password) Future<Tuple2>
deleteAccount(String did, String password, String token) Future<Tuple2>
deleteRecord(String repo, String collection, String rkey, {String? swapRecord, String? swapCommit}) Future<Tuple2>
deleteSession() Future<Tuple2>
describeServer({bool? inviteCodeRequired, List<String>? availableUserDomains, Map<String, dynamic>? links}) Future<Tuple2>
getRecord(String repo, String collection, String rkey, {String? cid}) Future<Tuple2>
getSession() Future<Tuple2>
listAppPasswords() Future<Tuple2>
listRecords(String collection, String repo, {int? limit, String? cursor, bool? reverse}) Future<Tuple2>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putRecord(String repo, String collection, String rkey, Map<String, dynamic> record, {bool? validate, String? swapRecord, String? swapCommit}) Future<Tuple2>
refreshSession() Future<Tuple2>
requestAccountDelete() Future<Tuple2>
requestPasswordReset(String email) Future<Tuple2>
resetPassword(String token, String password) Future<Tuple2>
resolveHandle(String handle) Future<Tuple2>
revokeAppPassword(String name) Future<Tuple2>
toString() String
A string representation of this object.
inherited
updateHandle(String handle) Future<Tuple2>
uploadBlob(Uint8List bytes, String contentType) Future<Tuple2>

Operators

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