appBskyGraphGetFollowers function

Future<XRPCResponse<GraphGetFollowersOutput>> appBskyGraphGetFollowers({
  1. required String actor,
  2. int? limit,
  3. String? cursor,
  4. required ServiceContext $ctx,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Enumerates accounts which follow a specified account (actor).

Implementation

Future<XRPCResponse<GraphGetFollowersOutput>> appBskyGraphGetFollowers({
  required String actor,
  int? limit,
  String? cursor,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.appBskyGraphGetFollowers,
  headers: $headers,
  parameters: {
    ...?$unknown,
    'actor': actor,
    if (limit != null) 'limit': limit,
    if (cursor != null) 'cursor': cursor,
  },
  to: const GraphGetFollowersOutputConverter().fromJson,
);