toolsOzoneInboxGetReport function

Future<XRPCResponse<InboxGetReportOutput>> toolsOzoneInboxGetReport({
  1. String? did,
  2. required int id,
  3. required ServiceContext $ctx,
  4. String? $service,
  5. Map<String, String>? $headers,
  6. Map<String, String>? $unknown,
})

Get a moderation report submitted by the authenticated account to this moderation service.

Implementation

Future<XRPCResponse<InboxGetReportOutput>> toolsOzoneInboxGetReport({
  String? did,
  required int id,
  required ServiceContext $ctx,
  String? $service,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.get(
  ns.toolsOzoneInboxGetReport,
  service: $service,
  headers: $headers,
  parameters: {...?$unknown, if (did != null) 'did': did, 'id': id},
  to: const InboxGetReportOutputConverter().fromJson,
);