getFeed method

Future<XRPCResponse<Feed>> getFeed({
  1. required AtUri generatorUri,
  2. int? limit,
  3. String? cursor,
  4. Map<String, String>? headers,
})

Implementation

Future<core.XRPCResponse<Feed>> getFeed({
  required core.AtUri generatorUri,
  int? limit,
  String? cursor,
  Map<String, String>? headers,
}) async =>
    await _ctx.get(
      ns.appBskyFeedGetFeed,
      headers: headers,
      parameters: {
        'feed': generatorUri.toString(),
        'limit': limit,
        'cursor': cursor,
      },
      to: Feed.fromJson,
    );