queryLabels method

Future<XRPCResponse<LabelsByQuery>> queryLabels({
  1. required List<String> uriPatterns,
  2. List<String>? didSources,
  3. int? limit,
  4. String? cursor,
  5. Map<String, String>? headers,
})

Implementation

Future<core.XRPCResponse<LabelsByQuery>> queryLabels({
  required List<String> uriPatterns,
  List<String>? didSources,
  int? limit,
  String? cursor,
  Map<String, String>? headers,
}) async =>
    await _ctx.get(
      ns.comAtprotoLabelQueryLabels,
      headers: headers,
      parameters: {
        'uriPatterns': uriPatterns,
        'sources': didSources,
        'limit': limit,
        'cursor': cursor,
      },
      to: LabelsByQuery.fromJson,
    );