getEvent method
Get details about a moderation event.
https://atprotodart.com/docs/lexicons/tools/ozone/moderation/getEvent
Implementation
Future<XRPCResponse<ModEventViewDetail>> getEvent({
required int id,
Map<String, String>? $unknown,
Map<String, String>? $headers,
GetClient? $client,
}) async =>
await _ctx.get<ModEventViewDetail>(
ns.toolsOzoneModerationGetEvent,
headers: $headers,
parameters: {
'id': id.toString(),
...?$unknown,
},
to: const ModEventViewDetailConverter().fromJson,
client: $client,
);