ATProto class sealed

Provides com.atproto.* services.

Constructors

ATProto.anonymous({Map<String, String>? headers, Protocol? protocol, String? service, String? relayService, Duration? timeout, RetryConfig? retryConfig, GetClient? mockedGetClient, PostClient? mockedPostClient})
Returns the new instance of ATProto as anonymous.
factory
ATProto.fromSession(Session session, {Map<String, String>? headers, Protocol? protocol, String? service, String? relayService, Duration? timeout, RetryConfig? retryConfig, GetClient? mockedGetClient, PostClient? mockedPostClient})
Returns the new instance of ATProto.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>
Returns the global headers without auth header.
no setter
identity IdentityService
Returns the identity service. This service represents com.atproto.identity.*.
no setter
label LabelService
Returns the labels service. This service represents com.atproto.label.*.
no setter
moderation ModerationService
Returns the moderation service. This service represents com.atproto.moderation.*.
no setter
relayService String
Returns the current replay service. Defaults to bsky.network.
no setter
repo RepoService
Returns the repositories service. This service represents com.atproto.repo.*.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
server ServerService
Returns the servers service. This service represents com.atproto.server.*.
no setter
service String
Returns the current service. Defaults to bsky.social.
no setter
session Session?
Returns the current session.
no setter
sync SyncService
Returns the sync service. This service represents com.atproto.sync.*.
no setter
temp TempService
Returns the temp service. This service represents com.atproto.temp.*.
no setter

Methods

get<T>(NSID methodId, {Map<String, String>? headers, Map<String, dynamic>? parameters, ResponseDataBuilder<T>? to, ResponseDataAdaptor? adaptor}) Future<XRPCResponse<T>>
Returns the result of executing methodId as GET communication.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post<T>(NSID methodId, {Map<String, String>? headers, Map<String, dynamic>? parameters, dynamic body, ResponseDataBuilder<T>? to}) Future<XRPCResponse<T>>
Returns the result of executing methodId as POST communication.
toString() String
A string representation of this object.
inherited

Operators

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