getList method

Future<XRPCResponse<ListItems>> getList({
  1. required AtUri list,
  2. int? limit,
  3. String? cursor,
  4. Map<String, String>? headers,
})

Implementation

Future<core.XRPCResponse<ListItems>> getList({
  required core.AtUri list,
  int? limit,
  String? cursor,
  Map<String, String>? headers,
}) async =>
    await _ctx.get(
      ns.appBskyGraphGetList,
      headers: headers,
      parameters: {
        'list': list.toString(),
        'limit': limit,
        'cursor': cursor,
      },
      to: ListItems.fromJson,
    );