appBskyGraphGetStarterPacksWithMembership function

Future<XRPCResponse<GraphGetStarterPacksWithMembershipOutput>> appBskyGraphGetStarterPacksWithMembership({
  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 the starter packs created by the session user, and includes membership information about actor in those starter packs. Requires auth.

Implementation

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