comAtprotoLexiconResolveLexicon function

Future<XRPCResponse<LexiconResolveLexiconOutput>> comAtprotoLexiconResolveLexicon({
  1. required String nsid,
  2. required ServiceContext $ctx,
  3. String? $service,
  4. Map<String, String>? $headers,
  5. Map<String, String>? $unknown,
})

Resolves an atproto lexicon (NSID) to a schema.

Implementation

Future<XRPCResponse<LexiconResolveLexiconOutput>>
comAtprotoLexiconResolveLexicon({
  required String nsid,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.comAtprotoLexiconResolveLexicon,
  service: $service,
  headers: $headers,
  parameters: {...?$unknown, 'nsid': nsid},
  to: const LexiconResolveLexiconOutputConverter().fromJson,
);