appBskyGraphGetRelationships function
Enumerates public relationships between one account, and a list of other accounts. Does not require auth.
Implementation
Future<XRPCResponse<GraphGetRelationshipsOutput>> appBskyGraphGetRelationships({
required String actor,
List<String>? others,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.appBskyGraphGetRelationships,
headers: $headers,
parameters: {
...?$unknown,
'actor': actor,
if (others != null) 'others': others,
},
to: const GraphGetRelationshipsOutputConverter().fromJson,
);