get method

Future<XRPCResponse<GetRecordOutput>> get({
  1. String? cid,
  2. Map<String, String>? $unknown,
  3. Map<String, String>? $headers,
  4. PostClient? $client,
})

Returns declaration record associated with rkey.

Implementation

Future<XRPCResponse<GetRecordOutput>> get({
  String? cid,
  Map<String, String>? $unknown,
  Map<String, String>? $headers,
  PostClient? $client,
}) async =>
    await _ctx.atproto.repo.getRecord(
      collection: ns.chatBskyActorDeclaration,
      rkey: 'self',
      cid: cid,
      $unknown: $unknown,
      $headers: $headers,
      $client: $client,
    );