getFeedGenerator method

Future<XRPCResponse<FeedGenerator>> getFeedGenerator({
  1. required AtUri uri,
  2. Map<String, String>? headers,
})

Implementation

Future<core.XRPCResponse<FeedGenerator>> getFeedGenerator({
  required core.AtUri uri,
  Map<String, String>? headers,
}) async =>
    await _ctx.get(
      ns.appBskyFeedGetFeedGenerator,
      headers: headers,
      parameters: {
        'feed': uri.toString(),
      },
      to: FeedGenerator.fromJson,
    );