appBskyUnspeccedGetPopularFeedGenerators function

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

An unspecced view of globally popular feed generators.

Implementation

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