appBskyGraphSearchStarterPacks function

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

Find starter packs matching search criteria. Does not require auth.

Implementation

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