appBskyActorGetProfile function

Future<XRPCResponse<ProfileViewDetailed>> appBskyActorGetProfile({
  1. required String actor,
  2. required ServiceContext $ctx,
  3. Map<String, String>? $headers,
  4. Map<String, String>? $unknown,
})

Get detailed profile view of an actor. Does not require auth, but contains relevant metadata with auth.

Implementation

Future<XRPCResponse<ProfileViewDetailed>> appBskyActorGetProfile({
  required String actor,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.appBskyActorGetProfile,
  headers: $headers,
  parameters: {...?$unknown, 'actor': actor},
  to: const ProfileViewDetailedConverter().fromJson,
);